]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/input/mouse/elan_i2c_core.c
Input: elan_i2c - remove duplicate repeat code
[karo-tx-linux.git] / drivers / input / mouse / elan_i2c_core.c
index b7535385fcdd1241021a80ba98063ed2b26f6e4d..375d98f47483d309f35a561de11a376982713b17 100644 (file)
@@ -198,7 +198,6 @@ static int elan_initialize(struct elan_tp_data *data)
                if (!error)
                        return 0;
 
-               repeat--;
                msleep(30);
        } while (--repeat > 0);