[PATCH] kcdrwd: remove unneeded flush_signals() call

From: Oleg Nesterov
Date: Thu Jun 14 2007 - 13:22:48 EST


kcdrwd() is a kernel thread, all signals are ignored.

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

--- sig/drivers/block/pktcdvd.c~2_pktcdvd 2007-05-21 13:42:39.000000000 +0400
+++ sig/drivers/block/pktcdvd.c 2007-06-14 20:21:35.000000000 +0400
@@ -1653,9 +1653,6 @@ static int kcdrwd(void *foobar)
}
}

- if (signal_pending(current)) {
- flush_signals(current);
- }
if (kthread_should_stop())
break;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/