diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-08-24 08:50:15 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-09-01 14:23:14 +0300 |
commit | a90cf6b186bff1306a12abd290bd36f7a3702a24 (patch) | |
tree | 220be9ceb69b89b408fbd3dad74d27c8134471fc /lib | |
parent | 622cc5f014eb983348aa0dc7fb5fbde43d074782 (diff) | |
download | opensbi-a90cf6b186bff1306a12abd290bd36f7a3702a24.tar.xz |
lib: sbi_pmu: Remove "event_idx" member from struct sbi_pmu_fw_event
The "event_idx" member of struct sbi_pmu_fw_event is not used
anywhere so let us remove it.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sbi/sbi_pmu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sbi/sbi_pmu.c b/lib/sbi/sbi_pmu.c index 5a294a2..535e5cc 100644 --- a/lib/sbi/sbi_pmu.c +++ b/lib/sbi/sbi_pmu.c @@ -35,9 +35,6 @@ struct sbi_pmu_hw_event { /** Representation of a firmware event */ struct sbi_pmu_fw_event { - /* Event associated with the particular counter */ - uint32_t event_idx; - /* Current value of the counter */ unsigned long curr_count; |