mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
[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:
parent
655fc9d49d
commit
ff50504a94
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue