[PATCH 6/7] arch/powerpc/perf : Removing unused macros from power8-pmu.c
Likhitha Korrapati
likhitha at linux.ibm.com
Sat Apr 26 13:55:34 AEST 2025
The following macros were introduced in power8-pmu via
commit b1113557fb5f ("powerpc/perf: Define BHRB generic functions, data
and flags for POWER8")
POWER8_MMCRA_IFM2, POWER8_MMCRA_IFM3
Removing the above macros as they are defined but never used.
Co-developed-by: Anjali K <anjalik at linux.ibm.com>
Signed-off-by: Anjali K <anjalik at linux.ibm.com>
Signed-off-by: Likhitha Korrapati <likhitha at linux.ibm.com>
---
arch/powerpc/perf/power8-pmu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c
index ef9685065aaf..6fcf5ddb0b54 100644
--- a/arch/powerpc/perf/power8-pmu.c
+++ b/arch/powerpc/perf/power8-pmu.c
@@ -23,8 +23,6 @@ enum {
/* MMCRA IFM bits - POWER8 */
#define POWER8_MMCRA_IFM1 0x0000000040000000UL
-#define POWER8_MMCRA_IFM2 0x0000000080000000UL
-#define POWER8_MMCRA_IFM3 0x00000000C0000000UL
#define POWER8_MMCRA_BHRB_MASK 0x00000000C0000000UL
/*
--
2.43.5
More information about the Linuxppc-dev
mailing list