summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorQi Liu <liuqi115@huawei.com>2020-09-04 12:57:38 +0300
committerWill Deacon <will@kernel.org>2020-09-07 20:35:39 +0300
commit44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0 (patch)
tree434e756cb756d30039818ba3c09bf8614b34e627 /drivers/perf
parentd51eb416fa111c1129c46ea3320faab36bf4c99c (diff)
downloadlinux-44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0.tar.xz
arm64: perf: Remove unnecessary event_idx check
event_idx is obtained from armv8pmu_get_event_idx(), and this idx must be between ARMV8_IDX_CYCLE_COUNTER and cpu_pmu->num_events. So it's unnecessary to do this check. Let's remove it. Signed-off-by: Qi Liu <liuqi115@huawei.com> Link: https://lore.kernel.org/r/1599213458-28394-1-git-send-email-liuqi115@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions