w1: w1_process() is not freezable kthread
authorJiri Kosina <jkosina@suse.cz>
Wed, 10 Feb 2016 10:41:08 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:23:28 +0000 (19:23 -0800)
commitcf09d6428de3aa6bb6a8164d86bc1cc0cd678d8e
tree0da4f8c29f17a1ef9434599af1e33ff106b5b868
parentdfdf141429f0895b63c882facc42c86f225033cb
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>
drivers/w1/w1.c