diff options
author | Jiri Kosina <jkosina@suse.cz> | 2016-02-10 05:41:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-11 22:23:28 -0500 |
commit | cf09d6428de3aa6bb6a8164d86bc1cc0cd678d8e (patch) | |
tree | 0da4f8c29f17a1ef9434599af1e33ff106b5b868 /drivers/w1 | |
parent | dfdf141429f0895b63c882facc42c86f225033cb (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>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/w1.c | 1 |
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) | |||
1147 | jremain = 1; | 1147 | jremain = 1; |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | try_to_freeze(); | ||
1151 | __set_current_state(TASK_INTERRUPTIBLE); | 1150 | __set_current_state(TASK_INTERRUPTIBLE); |
1152 | 1151 | ||
1153 | /* hold list_mutex until after interruptible to prevent loosing | 1152 | /* hold list_mutex until after interruptible to prevent loosing |