aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r--drivers/input/keyboard/atkbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 7162f79ea119..514d80badc40 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -823,7 +823,6 @@ static void atkbd_disconnect(struct serio *serio)
823 atkbd_disable(atkbd); 823 atkbd_disable(atkbd);
824 824
825 /* make sure we don't have a command in flight */ 825 /* make sure we don't have a command in flight */
826 synchronize_sched(); /* Allow atkbd_interrupt()s to complete. */
827 flush_scheduled_work(); 826 flush_scheduled_work();
828 827
829 sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group); 828 sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group);