2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00

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>
This commit is contained in:
Duson Lin 2015-03-08 14:08:19 -07:00 committed by Dmitry Torokhov
parent b3beed7fe8
commit 973877477e

View File

@ -198,7 +198,6 @@ static int elan_initialize(struct elan_tp_data *data)
if (!error)
return 0;
repeat--;
msleep(30);
} while (--repeat > 0);