From ff50504a94b7cd817f856cca5db69f01b2cebabf Mon Sep 17 00:00:00 2001 From: "akpm@osdl.org" Date: Wed, 11 May 2005 15:29:03 -0700 Subject: [PATCH] [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 Signed-off-by: Greg Kroah-Hartman --- kernel/exit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/exit.c b/kernel/exit.c index f40a50f69850..d462a1f7c2f0 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -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)