Skip to content

Commit

Permalink
[PATCH] pid: remove temporary debug code in attach_pid
Browse files Browse the repository at this point in the history
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@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
ebiederm authored and Linus Torvalds committed Sep 27, 2006
1 parent c18258c commit 65800ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr)
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]);
Expand Down

0 comments on commit 65800ac

Please sign in to comment.