diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-29 09:37:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-29 09:37:07 -0700 |
commit | c06fec5022ebe014af876da2df4a0eee836e97c8 (patch) | |
tree | 074874a0f975d7d776b7a789f3fc1715f1fa9300 /kernel/exit.c | |
parent | 42d4dc3f4e1ec1396371aac89d0dccfdd977191b (diff) | |
download | linux-c06fec5022ebe014af876da2df4a0eee836e97c8.tar.bz2 |
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.
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 39d35935b371..93851bcd9584 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -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) |