From: Pavel Emelyanov Date: Wed, 30 Apr 2008 07:52:40 +0000 (-0700) Subject: signals: clean dequeue_signal from excess checks and assignments X-Git-Tag: v2.6.26-rc1~305 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5363d03637885310f1101b95cbbd26d067b4c8d;p=pandora-kernel.git signals: clean dequeue_signal from excess checks and assignments The signr variable may be declared without initialization - it is set ro the return value from __dequeue_signal() right at the function beginning. Besides, after recalc_sigpending() two checks for signr to be not 0 may be merged into one. Both if-s become easier to read. Thanks to Oleg for pointing out mistakes in the first version of this patch. Signed-off-by: Pavel Emelyanov Cc: Oleg Nesterov Cc: Roland McGrath Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed