aboutsummaryrefslogtreecommitdiff
path: root/platform/generic/platform.c
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2024-11-19 11:34:36 -0800
committerAnup Patel <anup@brainfault.org>2024-12-02 09:52:50 +0530
commitcf196d80aa0850cb9658a8e670fcbb72ed26dc71 (patch)
treece40afbd5f872cacd8abd3f9a315316f9bd2abe1 /platform/generic/platform.c
parentd8a483fc7fd05f7c72a1690e0db326bd4bcd5514 (diff)
downloadopensbi-cf196d80aa0850cb9658a8e670fcbb72ed26dc71.zip
opensbi-cf196d80aa0850cb9658a8e670fcbb72ed26dc71.tar.gz
opensbi-cf196d80aa0850cb9658a8e670fcbb72ed26dc71.tar.bz2
lib: sbi_pmu: Remove redundant check for fw events
The pmu_validate_event already has the same check for fw events. The validate function is called prior to the current function to find a counter for firmware. That's why, the redudant check can be removed from the find counter function. Signed-off-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions