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 22716833739a903177d47aa00aa814421ed62153..7f1feb2f467af5f94b102d1ade8dfd230538d514 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