commit | 9cbab8100538efdd93aeae6fc37787d986f2f558 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Feb 08 04:19:02 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Feb 08 09:22:26 2008 -0800 |
tree | a34cf1b3d6bdb3b2bbede801a9acdb23d35903ff | |
parent | ee7c82da830ea860b1f9274f1f0cdf99f206e7c2 [diff] |
do_wait: factor out "retval != 0" checks Every branch if the main "if" statement does the same code at the end. Move it down. Also, fix the indentation. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>