[PATCH] perf: alibaba_uncore_drw_pmu: remove unused macro

Ba Jing posted 1 patch 1 month, 2 weeks ago
drivers/perf/alibaba_uncore_drw_pmu.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] perf: alibaba_uncore_drw_pmu: remove unused macro
Posted by Ba Jing 1 month, 2 weeks ago
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@cmss.chinamobile.com>
---
 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