ARM: perf: remove unused armpmu_get_max_events
authorWill Deacon <will.deacon@arm.com>
Mon, 14 Nov 2011 10:33:05 +0000 (10:33 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 2 Dec 2011 15:16:25 +0000 (15:16 +0000)
commitfeb45d06ffd7b59f43f1ed8edf53a0cfe3e7ad2a
treeedb7c4425d0cd554b5eb2a4366fb98f424f214f5
parent5611cc4572e889b62a7b4c72a413536bf6a9c416
ARM: perf: remove unused armpmu_get_max_events

armpmu_get_max_events is only called from perf_num_counters, so we can
inline it there. It existed as a separate entity as a hangover from
the original perf-based oprofile implementation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/perf_event.h
arch/arm/kernel/perf_event.c