From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Date: Fri, 15 Jun 2012 13:51:07 +0000 Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Drop needless initialization Message-Id: <20120615135107.GA24367@ericsson.com> List-Id: References: <20120615144353.29025111@endymion.delvare> In-Reply-To: <20120615144353.29025111@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Fri, Jun 15, 2012 at 08:43:53AM -0400, Jean Delvare wrote: > The value is overridden a few lines later. > > Signed-off-by: Jean Delvare Acked-by: Guenter Roeck > --- > drivers/hwmon/coretemp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-3.5-rc2.orig/drivers/hwmon/coretemp.c 2012-06-15 14:26:40.000000000 +0200 > +++ linux-3.5-rc2/drivers/hwmon/coretemp.c 2012-06-15 14:39:06.690271631 +0200 > @@ -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 > > > -- > Jean Delvare > > _______________________________________________ > lm-sensors mailing list > lm-sensors@lm-sensors.org > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors