aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index efa3beb007f..aa582be8caf 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1157,11 +1157,6 @@ static inline int rt_task(struct task_struct *p)
return rt_prio(p->prio);
}
-static inline int batch_task(struct task_struct *p)
-{
- return p->policy == SCHED_BATCH;
-}
-
static inline pid_t process_group(struct task_struct *tsk)
{
return tsk->signal->pgrp;