Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf09d642 authored by Jiri Kosina's avatar Jiri Kosina Committed by Greg Kroah-Hartman
Browse files

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: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dfdf1414
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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