summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorchai wen2014-10-22 14:16:49 +0200
committerWill Deacon2014-10-30 13:16:58 +0100
commitcb6eb108a7be04709f8db0cedde30bee0e0a64ee (patch)
treef1146ed23258482e96533afe0e112186bb56b52d /kernel
parentbus: cci: move away from arm_pmu framework (diff)
downloadkernel-qcow2-linux-cb6eb108a7be04709f8db0cedde30bee0e0a64ee.tar.gz
kernel-qcow2-linux-cb6eb108a7be04709f8db0cedde30bee0e0a64ee.tar.xz
kernel-qcow2-linux-cb6eb108a7be04709f8db0cedde30bee0e0a64ee.zip
ARM: perf: remove useless return and check of idx in counter handling
Idx sanity check was once implemented separately in these counter handling functions and then return value was treated as a judgement. armv7_pmnc_select_counter() armv7_pmnc_enable_counter() armv7_pmnc_disable_counter() armv7_pmnc_enable_intens() armv7_pmnc_disable_intens() But we do not need to do this now, as idx validation check was moved out all these functions by commit 7279adbd9bb8ef8f(ARM: perf: check ARMv7 counter validity on a per-pmu basis). Let's remove the useless return of idx from these functions. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: chai wen <chaiw.fnst@cn.fujitsu.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions