Explorar o código

perf_counter: Remove unused variables

Fix a gcc unused variables warning.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Peter Zijlstra %!s(int64=16) %!d(string=hai) anos
pai
achega
9b7019ae6a
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      arch/x86/kernel/cpu/perf_counter.c

+ 0 - 2
arch/x86/kernel/cpu/perf_counter.c

@@ -1570,8 +1570,6 @@ static struct x86_pmu amd_pmu = {
 
 
 static int p6_pmu_init(void)
 static int p6_pmu_init(void)
 {
 {
-	int high, low;
-
 	switch (boot_cpu_data.x86_model) {
 	switch (boot_cpu_data.x86_model) {
 	case 1:
 	case 1:
 	case 3:  /* Pentium Pro */
 	case 3:  /* Pentium Pro */