]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/pid.c
[PATCH] csa accounting taskstats update
[linux-2.6-omap-h63xx.git] / kernel / pid.c
index 6db82b68e2f881ad453f3b47a6f704cf05ba8a4b..8387e8c681938a968ae005f52c58fcdf11ab17c3 100644 (file)
@@ -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]);