diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-06-17 12:05:06 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-06-17 12:05:06 -0400 |
commit | 1268a172cdb00353f107e6cc964dccff29047077 (patch) | |
tree | ff5cc3e858a4bee307aac8587ffea77ce62af8af /drivers/hwmon/coretemp.c | |
parent | 813441f16e5248e7fd6a4044e8adabf4ac3aaec9 (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.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); | |||
801 | 801 | ||
802 | static int __init coretemp_init(void) | 802 | static int __init coretemp_init(void) |
803 | { | 803 | { |
804 | int i, err = -ENODEV; | 804 | int i, err; |
805 | 805 | ||
806 | /* | 806 | /* |
807 | * CPUID.06H.EAX[0] indicates whether the CPU has thermal | 807 | * CPUID.06H.EAX[0] indicates whether the CPU has thermal |