Message ID | 20241012074534.1942-1-bajing@cmss.chinamobile.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | perf: alibaba_uncore_drw_pmu: remove unused macro | expand |
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
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(-)