From: Jean Delvare Date: Sun, 17 Jun 2012 16:05:06 +0000 (+0200) Subject: hwmon: (coretemp) Drop needless initialization X-Git-Tag: firefly_0821_release~3680^2~2592^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1268a172cdb00353f107e6cc964dccff29047077;p=firefly-linux-kernel-4.4.55.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