* [FIX REQUEST] x86: perf_counter compilation warning
@ 2009-07-13 7:21 Jaswinder Singh Rajput
0 siblings, 0 replies; only message in thread
From: Jaswinder Singh Rajput @ 2009-07-13 7:21 UTC (permalink / raw)
To: Ingo Molnar, Vince Weaver, Peter Zijlstra, x86 maintainers, LKML
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 */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-13 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 7:21 [FIX REQUEST] x86: perf_counter compilation warning Jaswinder Singh Rajput
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox