[FIX REQUEST] x86: perf_counter compilation warning

From: Jaswinder Singh Rajput
Date: Mon Jul 13 2009 - 03:22:05 EST


CC arch/x86/kernel/cpu/perf_counter.o
arch/x86/kernel/cpu/perf_counter.c: In function âp6_pmu_initâ:
arch/x86/kernel/cpu/perf_counter.c:1573: warning: unused variable âlowâ
arch/x86/kernel/cpu/perf_counter.c:1573: warning: unused variable âhighâ

diff --git a/arch/x86/kernel/cpu/perf_counter.c b/arch/x86/kernel/cpu/perf_counter.c
index 7e346d4..a7aa8f9 100644
--- a/arch/x86/kernel/cpu/perf_counter.c
+++ b/arch/x86/kernel/cpu/perf_counter.c
@@ -1570,8 +1570,6 @@ static struct x86_pmu amd_pmu = {

static int p6_pmu_init(void)
{
- int high, low;
-
switch (boot_cpu_data.x86_model) {
case 1:
case 3: /* Pentium Pro */


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/