diff options
author | akpm@osdl.org <akpm@osdl.org> | 2005-05-11 15:29:03 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-05-12 10:00:24 -0700 |
commit | ff50504a94b7cd817f856cca5db69f01b2cebabf (patch) | |
tree | dbac812632e0e57e11420eaba5e5ab6b3eb991e5 | |
parent | 655fc9d49d183fb727176e047bfebbc3b49e7ca6 (diff) | |
download | linux-stable-ff50504a94b7cd817f856cca5db69f01b2cebabf.tar.gz linux-stable-ff50504a94b7cd817f856cca5db69f01b2cebabf.tar.bz2 linux-stable-ff50504a94b7cd817f856cca5db69f01b2cebabf.zip |
[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>
-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 f40a50f69850..d462a1f7c2f0 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -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) |