2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00

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:
Oleg Nesterov 2007-07-15 23:41:29 -07:00 committed by Linus Torvalds
parent 1b6dd9baa7
commit 3e1ac130d0

View File

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