From: Jean Delvare Date: Sun, 17 Jun 2012 16:05:06 +0000 (+0200) Subject: hwmon: (coretemp) Drop needless initialization X-Git-Tag: upstream/snapshot3+hdmi~7208^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1268a172cdb00353f107e6cc964dccff29047077;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 2271683..7f1feb2 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