projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d4dc3
)
Remove bogus BUG() in kernel/exit.c
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 29 Apr 2005 16:37:07 +0000
(09:37 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 29 Apr 2005 16:37:07 +0000
(09:37 -0700)
It's old sanity checking that may have been useful for debugging, but
is just bogus these days.
Noticed by Mattia Belletti.
kernel/exit.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 39d35935b3718a6a8161ea6043692168f81f127e..93851bcd9584597daac893eee17559c02d8b4a96 100644
(file)
--- 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)