diff options
author | Anshuman Khandual <[email protected]> | 2022-12-02 07:26:11 +0530 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-12-02 10:15:03 +0000 |
commit | 4361251cef466839795691e2628285e3f5093a98 (patch) | |
tree | 6f4adcdad5fcf04cd3c5bb57b489e9623345af77 /lib/mpi/mpi-sub-ui.c | |
parent | 17d573984d4d5ad73c7cb5edcf2024c585475b0c (diff) |
arm_pmu: Drop redundant armpmu->map_event() in armpmu_event_init()
__hw_perf_event_init() already calls armpmu->map_event() callback, and also
returns its error code including -ENOENT, along with a debug callout. Hence
an additional armpmu->map_event() check for -ENOENT is redundant.
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions