Messages in this thread Patch in this message | | | Subject | [FIX REQUEST] x86: perf_counter compilation warning | From | Jaswinder Singh Rajput <> | Date | Mon, 13 Jul 2009 12:51:21 +0530 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |