From: Oleg Nesterov Date: Mon, 16 Jul 2007 06:41:29 +0000 (-0700) Subject: kcdrwd: remove unneeded flush_signals() call X-Git-Tag: v2.6.23-rc1~831 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a;p=linux-2.6-omap-h63xx.git kcdrwd: remove unneeded flush_signals() call kcdrwd() is a kernel thread, all signals are ignored. Signed-off-by: Oleg Nesterov Cc: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index ce64e86d6ff..7c294a40002 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar) } } - if (signal_pending(current)) { - flush_signals(current); - } if (kthread_should_stop()) break; }