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:
Родитель
1b6dd9baa7
Коммит
3e1ac130d0
|
@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
|
|||
}
|
||||
}
|
||||
|
||||
if (signal_pending(current)) {
|
||||
flush_signals(current);
|
||||
}
|
||||
if (kthread_should_stop())
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче