signals: __group_complete_signal: cache the value of p->signal
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 30 Apr 2008 07:52:49 +0000 (00:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:35 +0000 (08:29 -0700)
commitf8c5b5c06f63fe9aaebefbf9f0b79909066b1b6c
tree58f7cde6d5b6c52ad927658521a32822661f048d
parent5fc894bb4fb1de8373d1d5fb6db19204a16859e8
signals: __group_complete_signal: cache the value of p->signal

Cosmetic, cache p->signal to make the code a bit more readable.

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>
kernel/signal.c