]> Pileus Git - ~andy/linux/blobdiff - include/linux/pid.h
hlist: drop the node parameter from iterators
[~andy/linux] / include / linux / pid.h
index 2381c973d897e8ae9147e465f5884ee7481012b2..a089a3c447fc1fbe5c56687b316d258c9a7736cf 100644 (file)
@@ -176,9 +176,8 @@ pid_t pid_vnr(struct pid *pid);
 
 #define do_each_pid_task(pid, type, task)                              \
        do {                                                            \
-               struct hlist_node *pos___;                              \
                if ((pid) != NULL)                                      \
-                       hlist_for_each_entry_rcu((task), pos___,        \
+                       hlist_for_each_entry_rcu((task),                \
                                &(pid)->tasks[type], pids[type].node) {
 
                        /*