1
0
Fork 0

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>
hifive-unleashed-5.1
Oleg Nesterov 2007-07-15 23:41:29 -07:00 committed by Linus Torvalds
parent 1b6dd9baa7
commit 3e1ac130d0
1 changed files with 0 additions and 3 deletions

View File

@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
}
}
if (signal_pending(current)) {
flush_signals(current);
}
if (kthread_should_stop())
break;
}