Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0c57d5893e4a9857ff22ec9e379f6bdbdad50850
Commit:     0c57d5893e4a9857ff22ec9e379f6bdbdad50850
Parent:     50e645a8a1a91f57dd5d8454620be5f1cb0fc089
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 9 18:52:00 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Mon Jul 9 18:52:00 2007 +0200

    sched: remove batch_task()
    
    batch_task() in sched.h is now unused - remove it.
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 include/linux/sched.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index efa3beb..aa582be 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to