Skip to content

Commit

Permalink
kcdrwd: remove unneeded flush_signals() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jul 16, 2007
1 parent 1b6dd9b commit 3e1ac13
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
}
}

if (signal_pending(current)) {
flush_signals(current);
}
if (kthread_should_stop())
break;
}
Expand Down

0 comments on commit 3e1ac13

Please sign in to comment.