1 --- a/arch/mips/kernel/perf_event_mipsxx.c
2 +++ b/arch/mips/kernel/perf_event_mipsxx.c
3 @@ -162,11 +162,6 @@ static unsigned int counters_total_to_pe
4 return counters >> vpe_shift();
7 -static unsigned int counters_per_cpu_to_total(unsigned int counters)
9 - return counters << vpe_shift();
12 #else /* !CONFIG_MIPS_MT_SMP */