Qi Liu 44fdf4ed26 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>
2020-09-07 18:35:39 +01:00
..
2020-07-24 13:15:20 +01:00
2019-07-08 09:54:55 -07:00
2020-06-01 15:18:27 -07:00
2020-06-01 15:18:27 -07:00
2019-07-08 09:54:55 -07:00
2020-05-01 16:28:59 +01:00
2019-04-23 18:01:57 +01:00
2020-08-23 17:36:59 -05:00
2020-07-24 18:06:52 +01:00