hwmon: (coretemp) Fix harmless build warning
authorJean Delvare <khali@linux-fr.org>
Wed, 25 Aug 2010 13:42:08 +0000 (15:42 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 25 Aug 2010 13:42:08 +0000 (15:42 +0200)
commit45ff34d32a19e9008e7202ba2a7c0d0f40420228
tree989cea53fffae3b70455694b4cd1afc6b3ed757b
parent502adf5778f4151dcba3f64dd6ed322151f3712c
hwmon: (coretemp) Fix harmless build warning

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