lkml.org 
[lkml]   [2009]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[FIX REQUEST] x86: perf_counter compilation warning
From
Date
 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/

\
 
 \ /
  Last update: 2009-07-13 09:25    [W:0.032 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site