Skip to contentSkip to conversation

x86: perf_counter compilation warning

FIX REQUEST Jaswinder Singh Rajput 1 participant 1 message Jul 13, 2009 x86

lore
Share & tools
lore
#0 lore raw

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’

arch/x86/kernel/cpu/perf_counter.c +0 -2
index 7e346d4..a7aa8f9 100644
@@ -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 */