提交 0c57d589 编写于 作者: I Ingo Molnar

sched: remove batch_task()

batch_task() in sched.h is now unused - remove it.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 50e645a8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册