summaryrefslogtreecommitdiff
path: root/target/linux/malta/patches-3.2/001-remove_unused_perf_function.patch
blob: dd538343aeb6c1d3b2fd4d97e20bd08abe704c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/arch/mips/kernel/perf_event_mipsxx.c
+++ b/arch/mips/kernel/perf_event_mipsxx.c
@@ -162,11 +162,6 @@ static unsigned int counters_total_to_pe
 	return counters >> vpe_shift();
 }
 
-static unsigned int counters_per_cpu_to_total(unsigned int counters)
-{
-	return counters << vpe_shift();
-}
-
 #else /* !CONFIG_MIPS_MT_SMP */
 #define vpe_id()	0