mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Input: atkbd - remove unneeded synchronize_sched()
atkbd_disable() provides all necessary synchronization with atkbd_interrupt(). Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
b037b08e59
commit
f0b92b961b
1 changed files with 0 additions and 1 deletions
|
|
@ -823,7 +823,6 @@ static void atkbd_disconnect(struct serio *serio)
|
|||
atkbd_disable(atkbd);
|
||||
|
||||
/* make sure we don't have a command in flight */
|
||||
synchronize_sched(); /* Allow atkbd_interrupt()s to complete. */
|
||||
flush_scheduled_work();
|
||||
|
||||
sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group);
|
||||
|
|
|
|||
Loading…
Reference in a new issue