diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-07-16 08:41:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 18:05:50 +0200 |
commit | 3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a (patch) | |
tree | 1f86ccb3d50073592b77ab7b7b869be118f12675 /drivers/block/pktcdvd.c | |
parent | adb_probe_task: remove unneeded flush_signals() call (diff) | |
download | linux-3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a.tar.xz linux-3e1ac130d08b0c7066615fe60fe1e7212c8eaf6a.zip |
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>
Diffstat (limited to '')
-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; } |