From: Oleg Nesterov Date: Wed, 30 Apr 2008 07:52:46 +0000 (-0700) Subject: handle_stop_signal: unify partial/full stop handling X-Git-Tag: v2.6.26-rc1~300 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc321d2e60d6f4eee17206612d0b50519f526daf;p=pandora-kernel.git handle_stop_signal: unify partial/full stop handling Now that handle_stop_signal() doesn't drop ->siglock, we can't see both ->group_stop_count && SIGNAL_STOP_STOPPED. Merge two "if" branches. As Roland pointed out, we never actually needed 2 do_notify_parent_cldstop() calls. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Jiri Kosina Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed