diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-07-16 10:41:29 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 20:05:50 +0400 |
commit | 3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a (patch) | |
tree | 1f86ccb3d50073592b77ab7b7b869be118f12675 | |
parent | 1b6dd9baa728d8ef329cc9a7e73e511e29055856 (diff) | |
download | linux-3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a.tar.xz |
kcdrwd: remove unneeded flush_signals() call
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>
-rw-r--r-- | drivers/block/pktcdvd.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |