projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3beed7
)
Input: elan_i2c - remove duplicate repeat code
author
Duson Lin
<dusonlin@emc.com.tw>
Sun, 8 Mar 2015 21:08:19 +0000
(14:08 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sun, 8 Mar 2015 21:16:59 +0000
(14:16 -0700)
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>
drivers/input/mouse/elan_i2c_core.c
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index b7535385fcdd1241021a80ba98063ed2b26f6e4d..375d98f47483d309f35a561de11a376982713b17 100644
(file)
--- 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);