commit | 44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0 | [log] [tgz] |
---|---|---|
author | Qi Liu <liuqi115@huawei.com> | Fri Sep 04 17:57:38 2020 +0800 |
committer | Will Deacon <will@kernel.org> | Mon Sep 07 18:35:39 2020 +0100 |
tree | 434e756cb756d30039818ba3c09bf8614b34e627 | |
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>