* [lm-sensors] [PATCH] hwmon: (coretemp) Fix harmless build warning
@ 2010-08-15 11:46 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2010-08-15 11:46 UTC (permalink / raw)
To: lm-sensors
Fix the following build warning:
CC [M] drivers/hwmon/coretemp.o
drivers/hwmon/coretemp.c: In function "coretemp_init":
drivers/hwmon/coretemp.c:521: warning: unused variable "n"
drivers/hwmon/coretemp.c:521: warning: unused variable "p"
Introduced by commit 851b29cb3b196cb66452ec964ab5f66c9c9cd1ed. When
you drop code, you also have to drop the variables this code was
using.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Chen Gong <gong.chen@linux.intel.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Huaxu Wan <huaxu.wan@intel.com>
---
drivers/hwmon/coretemp.c | 1 -
1 file changed, 1 deletion(-)
--- linux-2.6.36-rc0.orig/drivers/hwmon/coretemp.c 2010-08-15 10:24:54.000000000 +0200
+++ linux-2.6.36-rc0/drivers/hwmon/coretemp.c 2010-08-15 13:39:08.000000000 +0200
@@ -518,7 +518,6 @@ static struct notifier_block coretemp_cp
static int __init coretemp_init(void)
{
int i, err = -ENODEV;
- struct pdev_entry *p, *n;
/* quick check if we run Intel */
if (cpu_data(0).x86_vendor != X86_VENDOR_INTEL)
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-15 11:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-15 11:46 [lm-sensors] [PATCH] hwmon: (coretemp) Fix harmless build warning Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.