]> err.no Git - linux-2.6/commit
signals: collect_signal: simplify the "still_pending" logic
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 25 Jul 2008 08:47:28 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:38 +0000 (10:53 -0700)
commitd4434207616980885205c605697868c0f07e4378
tree82415d69b92557e09d57f42c49aba05ef4775a89
parent6715ca451cfff1c9ce4b33ad9918a1dacf43997c
signals: collect_signal: simplify the "still_pending" logic

Factor out sigdelset() calls and remove the "still_pending" variable.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c