diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-06-17 20:05:06 +0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-06-17 20:05:06 +0400 |
commit | 1268a172cdb00353f107e6cc964dccff29047077 (patch) | |
tree | ff5cc3e858a4bee307aac8587ffea77ce62af8af /drivers | |
parent | 813441f16e5248e7fd6a4044e8adabf4ac3aaec9 (diff) | |
download | linux-1268a172cdb00353f107e6cc964dccff29047077.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 22716833739a..7f1feb2f467a 100644 --- a/drivers/hwmon/coretemp.c +++ b/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 |