summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-02-10 11:41:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 19:23:28 -0800
commitcf09d6428de3aa6bb6a8164d86bc1cc0cd678d8e (patch)
tree0da4f8c29f17a1ef9434599af1e33ff106b5b868
parentdfdf141429f0895b63c882facc42c86f225033cb (diff)
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 <zbr@ioremap.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/w1/w1.c1
1 files changed, 0 insertions, 1 deletions
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