summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse
diff options
context:
space:
mode:
authorDuson Lin <dusonlin@emc.com.tw>2015-03-08 22:08:19 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-08 22:16:59 +0100
commit973877477e2f1eecdf8ae4305cd6e030c7cf08db (patch)
tree0ede28351a8a31826e0fa0dae4f91f1426a0060b /drivers/input/mouse
parentInput: elan_i2c - return error code when resume fails (diff)
downloadlinux-973877477e2f1eecdf8ae4305cd6e030c7cf08db.tar.xz
linux-973877477e2f1eecdf8ae4305cd6e030c7cf08db.zip
Input: elan_i2c - remove duplicate repeat code
Remove duplicate "repeat--" from function elan_initialize. Signed-off-by: Duson Lin <dusonlin@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r--drivers/input/mouse/elan_i2c_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index b7535385fcdd..375d98f47483 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -198,7 +198,6 @@ static int elan_initialize(struct elan_tp_data *data)
if (!error)
return 0;
- repeat--;
msleep(30);
} while (--repeat > 0);