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>
This commit is contained in:
parent
1b6dd9baa7
commit
3e1ac130d0
@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
|
||||
}
|
||||
}
|
||||
|
||||
if (signal_pending(current)) {
|
||||
flush_signals(current);
|
||||
}
|
||||
if (kthread_should_stop())
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user