summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2022-08-24 11:20:15 +0530
committerAnup Patel <[email protected]>2022-09-01 16:53:14 +0530
commita90cf6b186bff1306a12abd290bd36f7a3702a24 (patch)
tree220be9ceb69b89b408fbd3dad74d27c8134471fc /lib
parent622cc5f014eb983348aa0dc7fb5fbde43d074782 (diff)
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 <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/sbi/sbi_pmu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sbi/sbi_pmu.c b/lib/sbi/sbi_pmu.c
index 5a294a20..535e5cc1 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;