瀏覽代碼

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>
Jiri Kosina 10 年之前
父節點
當前提交
cf09d6428d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/w1/w1.c

+ 0 - 1
drivers/w1/w1.c

@@ -1147,7 +1147,6 @@ int w1_process(void *data)
 			jremain = 1;
 			jremain = 1;
 		}
 		}
 
 
-		try_to_freeze();
 		__set_current_state(TASK_INTERRUPTIBLE);
 		__set_current_state(TASK_INTERRUPTIBLE);
 
 
 		/* hold list_mutex until after interruptible to prevent loosing
 		/* hold list_mutex until after interruptible to prevent loosing