From: Oleg Nesterov Date: Mon, 16 Jul 2007 06:41:29 +0000 (-0700) Subject: kcdrwd: remove unneeded flush_signals() call X-Git-Tag: MMI-PSA29.97-13-9~42020 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 ce64e86d6ffb..7c294a40002e 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; }