Skip to contentSkip to conversation

pid: Remove temporary debug code in attach_pid

PATCH New Eric W. Biederman 1 participant 1 message Jul 10, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pid: Remove temporary debug code in attach_pid

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.

---
 kernel/pid.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
kernel/pid.c +0 -3
index 3153e96..9d56720 100644
@@ -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]);
Signature · 1 line
1.4.1.gac83a