aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/coretemp.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-06-17 18:05:06 +0200
committerJean Delvare <khali@endymion.delvare>2012-06-17 18:05:06 +0200
commit1268a172cdb00353f107e6cc964dccff29047077 (patch)
treeff5cc3e858a4bee307aac8587ffea77ce62af8af /drivers/hwmon/coretemp.c
parent813441f16e5248e7fd6a4044e8adabf4ac3aaec9 (diff)
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/hwmon/coretemp.c')
-rw-r--r--drivers/hwmon/coretemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 22716833739..7f1feb2f467 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