[PATCH] Remove bogus BUG() in kernel/exit.c

Remove bogus BUG() in kernel/exit.c

It's old sanity checking that may have been useful for debugging, but
is just bogus these days.

Noticed by Mattia Belletti.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
akpm@osdl.org 2005-05-11 15:29:03 -07:00 committed by Greg KH
parent 655fc9d49d
commit ff50504a94
1 changed files with 0 additions and 2 deletions

View File

@ -516,8 +516,6 @@ static inline void choose_new_parent(task_t *p, task_t *reaper, task_t *child_re
*/
BUG_ON(p == reaper || reaper->exit_state >= EXIT_ZOMBIE);
p->real_parent = reaper;
if (p->parent == p->real_parent)
BUG();
}
static inline void reparent_thread(task_t *p, task_t *father, int traced)