Browse Source

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>
Duson Lin 10 years ago
parent
commit
973877477e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/input/mouse/elan_i2c_core.c

+ 0 - 1
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);