From: Oleg Nesterov Date: Fri, 25 Jul 2008 08:47:27 +0000 (-0700) Subject: signals: collect_signal: remove the unneeded sigismember() check X-Git-Tag: v2.6.27-rc1~360 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6715ca451cfff1c9ce4b33ad9918a1dacf43997c;p=pandora-kernel.git signals: collect_signal: remove the unneeded sigismember() check collect_signal() checks sigismember(&list->signal, sig), this is not needed. This "sig" was just found by next_signal(), so it must be valid. We have a (completely broken) call to ->notifier in between, but it must not play with sigpending->signal bits or unlock ->siglock. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed