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

Commit 52ad48a0 authored by Xiaotian Feng's avatar Xiaotian Feng Committed by Dmitry Torokhov
Browse files

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: default avatarXiaotian Feng <dannyfeng@tencent.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f3219817
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
}