mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] pid: Remove temporary debug code in attach_pid
@ 2006-07-10 22:42 Eric W. Biederman
  0 siblings, 0 replies; only message in thread
From: Eric W. Biederman @ 2006-07-10 22:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Oleg Nesterov


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>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-10 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-10 22:42 [PATCH] pid: Remove temporary debug code in attach_pid Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®