diff options
author | Duson Lin <dusonlin@emc.com.tw> | 2015-03-08 17:08:19 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-08 17:16:59 -0400 |
commit | 973877477e2f1eecdf8ae4305cd6e030c7cf08db (patch) | |
tree | 0ede28351a8a31826e0fa0dae4f91f1426a0060b /drivers/input | |
parent | b3beed7fe83b077291aa32d1f3006c8480f6344b (diff) |
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.c | 1 |
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) | |||
198 | if (!error) | 198 | if (!error) |
199 | return 0; | 199 | return 0; |
200 | 200 | ||
201 | repeat--; | ||
202 | msleep(30); | 201 | msleep(30); |
203 | } while (--repeat > 0); | 202 | } while (--repeat > 0); |
204 | 203 | ||