diff options
author | Qi Liu <liuqi115@huawei.com> | 2020-09-04 17:57:38 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-07 18:35:39 +0100 |
commit | 44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0 (patch) | |
tree | 434e756cb756d30039818ba3c09bf8614b34e627 /drivers/perf/arm_dsu_pmu.c | |
parent | d51eb416fa111c1129c46ea3320faab36bf4c99c (diff) |
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/arm_dsu_pmu.c')
0 files changed, 0 insertions, 0 deletions