[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1247469681.2525.8.camel@ht.satnam>
Date: Mon, 13 Jul 2009 12:51:21 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Ingo Molnar <mingo@...e.hu>, Vince Weaver <vince@...ter.net>,
Peter Zijlstra <peterz@...radead.org>,
x86 maintainers <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [FIX REQUEST] x86: perf_counter compilation warning
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists