Skip to content

Commit

Permalink
sched: remove batch_task()
Browse files Browse the repository at this point in the history
batch_task() in sched.h is now unused - remove it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 9, 2007
1 parent 50e645a commit 0c57d58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c57d58

Please sign in to comment.