aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 12:52:00 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-09 12:52:00 -0400
commit0c57d5893e4a9857ff22ec9e379f6bdbdad50850 (patch)
tree825287e44b868e621f059b33f15b78fe227356af /include/linux
parent50e645a8a1a91f57dd5d8454620be5f1cb0fc089 (diff)
sched: remove batch_task()
batch_task() in sched.h is now unused - remove it. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-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 efa3beb007ff..aa582be8cafa 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1157,11 +1157,6 @@ static inline int rt_task(struct task_struct *p)
1157 return rt_prio(p->prio); 1157 return rt_prio(p->prio);
1158} 1158}
1159 1159
1160static inline int batch_task(struct task_struct *p)
1161{
1162 return p->policy == SCHED_BATCH;
1163}
1164
1165static inline pid_t process_group(struct task_struct *tsk) 1160static inline pid_t process_group(struct task_struct *tsk)
1166{ 1161{
1167 return tsk->signal->pgrp; 1162 return tsk->signal->pgrp;