From: Ingo Molnar Date: Mon, 9 Jul 2007 16:52:00 +0000 (+0200) Subject: sched: remove batch_task() X-Git-Tag: v2.6.23-rc1~1241 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0c57d5893e4a9857ff22ec9e379f6bdbdad50850;p=linux-2.6-omap-h63xx.git sched: remove batch_task() batch_task() in sched.h is now unused - remove it. Signed-off-by: Ingo Molnar --- 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;