Skip to content

Commit

Permalink
Input: HIL - do not call tasklet_disable right before tasklet_kill
Browse files Browse the repository at this point in the history
We do not need to call tasklet_disable() before calling tasklet_kill() if
taskelt does not reschedult itself.

Signed-off-by: Xiaotian Feng <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
xtfeng authored and dtor committed Nov 25, 2012
1 parent f321981 commit 52ad48a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/input/serio/hil_mlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,6 @@ static int __init hil_mlc_init(void)
static void __exit hil_mlc_exit(void)
{
del_timer_sync(&hil_mlcs_kicker);

tasklet_disable(&hil_mlcs_tasklet);
tasklet_kill(&hil_mlcs_tasklet);
}

Expand Down

0 comments on commit 52ad48a

Please sign in to comment.