[PATCH] pid: Remove temporary debug code in attach_pid

From: Eric W. Biederman
Date: Mon Jul 10 2006 - 18:41:36 EST



With the patches flying between Oleg and myself somehow this temporary
debug code got left in pid.c. It was never intended to make it to
the stable kernel.

Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
---
kernel/pid.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index 3153e96..9d56720 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -224,9 +224,6 @@ int fastcall attach_pid(struct task_stru
struct pid_link *link;
struct pid *pid;

- WARN_ON(!task->pid); /* to be removed soon */
- WARN_ON(!nr); /* to be removed soon */
-
link = &task->pids[type];
link->pid = pid = find_pid(nr);
hlist_add_head_rcu(&link->node, &pid->tasks[type]);
--
1.4.1.gac83a

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/