1
0
Fork 0

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.
hifive-unleashed-5.1
Linus Torvalds 2005-04-29 09:37:07 -07:00
parent 42d4dc3f4e
commit c06fec5022
1 changed files with 0 additions and 2 deletions

View File

@ -517,8 +517,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)