summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDuson Lin <dusonlin@emc.com.tw>2015-03-08 21:08:19 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-08 21:16:59 (GMT)
commit973877477e2f1eecdf8ae4305cd6e030c7cf08db (patch)
tree0ede28351a8a31826e0fa0dae4f91f1426a0060b /drivers/input
parentb3beed7fe83b077291aa32d1f3006c8480f6344b (diff)
downloadlinux-973877477e2f1eecdf8ae4305cd6e030c7cf08db.tar.xz
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')
-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 b753538..375d98f 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);