]> git.baikalelectronics.ru Git - kernel.git/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)
commitfdc72d23f31c6dad10da18ed0bf69c416aa33da6
tree82415d69b92557e09d57f42c49aba05ef4775a89
parent9c2085511a08d3b1aa1219ece0062c3b955e056e
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