[PATCH] perf: alibaba_uncore_drw_pmu: remove unused macro
From: Ba Jing
Date: Sat Oct 12 2024 - 03:46:14 EST
By reading the code, I found the marco ALI_DRW_PMU_CNT_STATE is
never referenced in the code. Just remove it.
Signed-off-by: Ba Jing <bajing@xxxxxxxxxxxxxxxxxxxx>
---
drivers/perf/alibaba_uncore_drw_pmu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/perf/alibaba_uncore_drw_pmu.c b/drivers/perf/alibaba_uncore_drw_pmu.c
index c6ff1bc7d336..8218daddf370 100644
--- a/drivers/perf/alibaba_uncore_drw_pmu.c
+++ b/drivers/perf/alibaba_uncore_drw_pmu.c
@@ -43,7 +43,6 @@
#define ALI_DRW_PMU_CNT_STOP BIT(1)
#define ALI_DRW_PMU_CNT_START BIT(0)
-#define ALI_DRW_PMU_CNT_STATE 0xC04
#define ALI_DRW_PMU_TEST_CTRL 0xC08
#define ALI_DRW_PMU_CNT_PRELOAD 0xC0C
--
2.33.0