aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorXiaotian Feng <xtfeng@gmail.com>2012-11-25 02:08:54 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-25 03:10:13 -0500
commit52ad48a0ce25d4d44ce82b7e28a35eb69598e5f1 (patch)
tree4530782e625b214a91c43e4d58731710ce03a84a /drivers/input/serio
parentf32198176598fffdc8dca65a1a719dd9fba7d581 (diff)
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>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r--drivers/input/serio/hil_mlc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/serio/hil_mlc.c b/drivers/input/serio/hil_mlc.c
index 0280167f09ac..65605e4ef3cf 100644
--- a/drivers/input/serio/hil_mlc.c
+++ b/drivers/input/serio/hil_mlc.c
@@ -1009,8 +1009,6 @@ static int __init hil_mlc_init(void)
1009static void __exit hil_mlc_exit(void) 1009static void __exit hil_mlc_exit(void)
1010{ 1010{
1011 del_timer_sync(&hil_mlcs_kicker); 1011 del_timer_sync(&hil_mlcs_kicker);
1012
1013 tasklet_disable(&hil_mlcs_tasklet);
1014 tasklet_kill(&hil_mlcs_tasklet); 1012 tasklet_kill(&hil_mlcs_tasklet);
1015} 1013}
1016 1014