Commit 3e1ac130 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds

kcdrwd: remove unneeded flush_signals() call

kcdrwd() is a kernel thread, all signals are ignored.
Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Cc: Peter Osterlund <petero2@telia.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b6dd9ba
......@@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
}
}
if (signal_pending(current)) {
flush_signals(current);
}
if (kthread_should_stop())
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment