hwmon: (coretemp) Drop needless initialization
authorJean Delvare <khali@linux-fr.org>
Sun, 17 Jun 2012 16:05:06 +0000 (18:05 +0200)
committerJean Delvare <khali@endymion.delvare>
Sun, 17 Jun 2012 16:05:06 +0000 (18:05 +0200)
The value is overridden a few lines later.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/coretemp.c

index 2271683..7f1feb2 100644 (file)
@@ -801,7 +801,7 @@ MODULE_DEVICE_TABLE(x86cpu, coretemp_ids);
 
 static int __init coretemp_init(void)
 {
-       int i, err = -ENODEV;
+       int i, err;
 
        /*
         * CPUID.06H.EAX[0] indicates whether the CPU has thermal