[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241012074534.1942-1-bajing@cmss.chinamobile.com>
Date: Sat, 12 Oct 2024 15:45:34 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: xueshuai@...ux.alibaba.com
Cc: will@...nel.org,
mark.rutland@....com,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] perf: alibaba_uncore_drw_pmu: remove unused macro
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@...s.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
Powered by blists - more mailing lists