aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 09:37:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 09:37:07 -0700
commitc06fec5022ebe014af876da2df4a0eee836e97c8 (patch)
tree074874a0f975d7d776b7a789f3fc1715f1fa9300 /kernel
parent42d4dc3f4e1ec1396371aac89d0dccfdd977191b (diff)
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')
-rw-r--r--kernel/exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 39d35935b37..93851bcd958 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)