Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f57a54b6cf3f626334d97e93b5b917ad11e1efc
Commit:     9f57a54b6cf3f626334d97e93b5b917ad11e1efc
Parent:     41487c65bfcce9c8e4d123da1719fcfd8df6d4d0
Author:     Eric W. Biederman <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 12 00:53:02 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Feb 12 09:48:32 2007 -0800

    [PATCH] pid: remove now unused do_each_task_pid and while_each_task_pid
    
    Now that I have changed all of the users remove the old version of these
    functions.  This should be a clear hint to any out of tree users that they
    should use do_each_pid_task and while_each_pid_task for new code.
    
    Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Cc: Oleg Nesterov <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 include/linux/pid.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/include/linux/pid.h b/include/linux/pid.h
index 4dec047..2ac27f9 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -105,20 +105,6 @@ static inline pid_t pid_nr(struct pid *pid)
        return nr;
 }
 
-
-#define do_each_task_pid(who, type, task)                              \
-       do {                                                            \
-               struct hlist_node *pos___;                              \
-               struct pid *pid___ = find_pid(who);                     \
-               if (pid___ != NULL)                                     \
-                       hlist_for_each_entry_rcu((task), pos___,        \
-                               &pid___->tasks[type], pids[type].node) {
-
-#define while_each_task_pid(who, type, task)                           \
-                       }                                               \
-       } while (0)
-
-
 #define do_each_pid_task(pid, type, task)                              \
        do {                                                            \
                struct hlist_node *pos___;                              \
-
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