diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-29 12:37:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-29 12:37:07 -0400 |
commit | c06fec5022ebe014af876da2df4a0eee836e97c8 (patch) | |
tree | 074874a0f975d7d776b7a789f3fc1715f1fa9300 /kernel | |
parent | 42d4dc3f4e1ec1396371aac89d0dccfdd977191b (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.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 | |||
517 | */ | 517 | */ |
518 | BUG_ON(p == reaper || reaper->exit_state >= EXIT_ZOMBIE); | 518 | BUG_ON(p == reaper || reaper->exit_state >= EXIT_ZOMBIE); |
519 | p->real_parent = reaper; | 519 | p->real_parent = reaper; |
520 | if (p->parent == p->real_parent) | ||
521 | BUG(); | ||
522 | } | 520 | } |
523 | 521 | ||
524 | static inline void reparent_thread(task_t *p, task_t *father, int traced) | 522 | static inline void reparent_thread(task_t *p, task_t *father, int traced) |