r8169: use RxFIFO overflow workaround for 8168c chipset.
[cascardo/linux.git] / drivers / hwmon / w83795.c
index cdbc744..845232d 100644 (file)
@@ -458,6 +458,7 @@ static void w83795_update_limits(struct i2c_client *client)
 {
        struct w83795_data *data = i2c_get_clientdata(client);
        int i, limit;
+       u8 lsb;
 
        /* Read the voltage limits */
        for (i = 0; i < ARRAY_SIZE(data->in); i++) {
@@ -479,9 +480,8 @@ static void w83795_update_limits(struct i2c_client *client)
        }
 
        /* Read the fan limits */
+       lsb = 0; /* Silent false gcc warning */
        for (i = 0; i < ARRAY_SIZE(data->fan); i++) {
-               u8 lsb;
-
                /* Each register contains LSB for 2 fans, but we want to
                 * read it only once to save time */
                if ((i & 1) == 0 && (data->has_fan & (3 << i)))