]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 16 Nov 2011 10:55:24 +0000 (10:55 +0000)
commit1d5fe7c233baee472391d75cc5dd3829ff4d1111
tree8ec3f8000dde07afa0294d057927dd6a2af6b163
parentcfcfc9eca2bcbd26a8e206baeb005b055dbf8e37
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