kcdrwd: remove unneeded flush_signals() call
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 16 Jul 2007 06:41:29 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:50 +0000 (09:05 -0700)
kcdrwd() is a kernel thread, all signals are ignored.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c

index ce64e86d6ffbb9d4205a96f0e189dec7519632ca..7c294a40002e26f1ac7f73741c2e3d836f7ae4a5 100644 (file)
@@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
                                }
                        }
 
-                       if (signal_pending(current)) {
-                               flush_signals(current);
-                       }
                        if (kthread_should_stop())
                                break;
                }