diff options
author | Duson Lin <dusonlin@emc.com.tw> | 2015-03-08 14:08:19 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-08 14:16:59 -0700 |
commit | 973877477e2f1eecdf8ae4305cd6e030c7cf08db (patch) | |
tree | 0ede28351a8a31826e0fa0dae4f91f1426a0060b /drivers/input/mouse/elan_i2c_core.c | |
parent | b3beed7fe83b077291aa32d1f3006c8480f6344b (diff) | |
download | linux-stable-973877477e2f1eecdf8ae4305cd6e030c7cf08db.tar.gz linux-stable-973877477e2f1eecdf8ae4305cd6e030c7cf08db.tar.bz2 linux-stable-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/elan_i2c_core.c')
-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) if (!error) return 0; - repeat--; msleep(30); } while (--repeat > 0); |