Browse Source

hwmon: (coretemp) Drop needless initialization

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>
Jean Delvare 13 years ago
parent
commit
1268a172cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/hwmon/coretemp.c

+ 1 - 1
drivers/hwmon/coretemp.c

@@ -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