diff options
Diffstat (limited to 'drivers/input/keyboard/atkbd.c')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 7d26ab4818b2..fad04b66d268 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -863,9 +863,6 @@ static int atkbd_connect(struct serio *serio, struct serio_driver *drv) | |||
863 | atkbd->softrepeat = atkbd_softrepeat; | 863 | atkbd->softrepeat = atkbd_softrepeat; |
864 | atkbd->scroll = atkbd_scroll; | 864 | atkbd->scroll = atkbd_scroll; |
865 | 865 | ||
866 | if (!atkbd->write) | ||
867 | atkbd->softrepeat = 1; | ||
868 | |||
869 | if (atkbd->softrepeat) | 866 | if (atkbd->softrepeat) |
870 | atkbd->softraw = 1; | 867 | atkbd->softraw = 1; |
871 | 868 | ||