Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0a76fe8e50ee93a9d4a1badb1ec995852a6bcaf1 Commit: 0a76fe8e50ee93a9d4a1badb1ec995852a6bcaf1 Parent: f10db6277dfd6dffb80b2182a256d35adb3134bc Author: Oleg Nesterov <[EMAIL PROTECTED]> AuthorDate: Wed Feb 6 01:37:06 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed Feb 6 10:41:04 2008 -0800
do_wait: remove one "else if" branch Minor cleanup. We can remove one "else if" branch. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> Cc: Roland McGrath <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- kernel/exit.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/kernel/exit.c b/kernel/exit.c index 9d3d0f0..eb9934a 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -1590,8 +1590,6 @@ repeat: goto repeat; if (retval != 0) /* He released the lock. */ goto end; - } else if (p->exit_state == EXIT_DEAD) { - continue; } else if (p->exit_state == EXIT_ZOMBIE) { /* * Eligible but we cannot release it yet: @@ -1606,7 +1604,7 @@ repeat: /* He released the lock. */ if (retval != 0) goto end; - } else { + } else if (p->exit_state != EXIT_DEAD) { check_continued: /* * It's running now, so it might later - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html