Commit 97387747 authored by Duson Lin's avatar Duson Lin Committed by Dmitry Torokhov

Input: elan_i2c - remove duplicate repeat code

Remove duplicate "repeat--" from function elan_initialize.
Signed-off-by: default avatarDuson Lin <dusonlin@emc.com.tw>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent b3beed7f
......@@ -198,7 +198,6 @@ static int elan_initialize(struct elan_tp_data *data)
if (!error)
return 0;
repeat--;
msleep(30);
} while (--repeat > 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment