[PATCH] choose_new_parent: remove unused arg, sanitize exit_state check
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 29 Mar 2006 00:11:04 +0000 (16:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 29 Mar 2006 02:36:40 +0000 (18:36 -0800)
commitd799f03597cabc6112acb518fc8ab4487aa4f953
tree1cc9561cbe4f463ff5579b14adc960b17a6a2cf4
parentd73d65293e3e2de7e916a89c8da30be0948afab7
[PATCH] choose_new_parent: remove unused arg, sanitize exit_state check

'child_reaper' arg is not used in choose_new_parent().

"->exit_state >= EXIT_ZOMBIE" check is a leftover, was
valid when EXIT_ZOMBIE lived in ->state var.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/exit.c