From: Jean Delvare Date: Sun, 17 Jun 2012 16:05:06 +0000 (+0200) Subject: hwmon: (coretemp) Drop needless initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1268a172cdb00353f107e6cc964dccff29047077;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git hwmon: (coretemp) Drop needless initialization The value is overridden a few lines later. Signed-off-by: Jean Delvare Acked-by: Guenter Roeck --- 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