summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 18:37:07 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 18:37:07 +0200
commitc06fec5022ebe014af876da2df4a0eee836e97c8 (patch)
tree074874a0f975d7d776b7a789f3fc1715f1fa9300 /kernel
parent[PATCH] Add suspend method to cpufreq core (diff)
downloadlinux-c06fec5022ebe014af876da2df4a0eee836e97c8.tar.xz
linux-c06fec5022ebe014af876da2df4a0eee836e97c8.zip
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 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)