提交 97387747 编写于 作者: D Duson Lin 提交者: Dmitry Torokhov

Input: elan_i2c - remove duplicate repeat code

Remove duplicate "repeat--" from function elan_initialize.
Signed-off-by: NDuson Lin <dusonlin@emc.com.tw>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册