浏览代码

Input: HIL - do not call tasklet_disable right before tasklet_kill

We do not need to call tasklet_disable() before calling tasklet_kill() if
taskelt does not reschedult itself.

Signed-off-by: Xiaotian Feng <dannyfeng@tencent.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Xiaotian Feng 12 年之前
父节点
当前提交
52ad48a0ce
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/input/serio/hil_mlc.c

+ 0 - 2
drivers/input/serio/hil_mlc.c

@@ -1009,8 +1009,6 @@ static int __init hil_mlc_init(void)
 static void __exit hil_mlc_exit(void)
 static void __exit hil_mlc_exit(void)
 {
 {
 	del_timer_sync(&hil_mlcs_kicker);
 	del_timer_sync(&hil_mlcs_kicker);
-
-	tasklet_disable(&hil_mlcs_tasklet);
 	tasklet_kill(&hil_mlcs_tasklet);
 	tasklet_kill(&hil_mlcs_tasklet);
 }
 }