From: Jiri Kosina Date: Wed, 10 Feb 2016 10:41:08 +0000 (+0100) Subject: w1: w1_process() is not freezable kthread X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cf09d6428de3aa6bb6a8164d86bc1cc0cd678d8e;p=openwrt%2Fstaging%2Fblogic.git w1: w1_process() is not freezable kthread w1_process() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Acked-by: Evgeniy Polyakov Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index c9a7ff67d395..89a784751738 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -1147,7 +1147,6 @@ int w1_process(void *data) jremain = 1; } - try_to_freeze(); __set_current_state(TASK_INTERRUPTIBLE); /* hold list_mutex until after interruptible to prevent loosing