From: Jiri Kosina Date: Mon, 26 Oct 2015 03:06:29 +0000 (+0100) Subject: uwb: uwbd() is not freezable kthread X-Git-Tag: v4.5-rc1~124^2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ced08b020e6ce0fa693e4d1d8c6088dbc0a36c64;p=thirdparty%2Fkernel%2Flinux.git uwb: uwbd() is not freezable kthread uwbd() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/uwb/uwbd.c b/drivers/uwb/uwbd.c index bdcb13cc1d541..01c20a260a8b3 100644 --- a/drivers/uwb/uwbd.c +++ b/drivers/uwb/uwbd.c @@ -279,7 +279,6 @@ static int uwbd(void *param) HZ); if (should_stop) break; - try_to_freeze(); spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); if (!list_empty(&rc->uwbd.event_list)) {