diff mbox series

[7/7] arch/powerpc/perf : Removing unused macros from power9-pmu.c

Message ID 20250426035535.450778-8-likhitha@linux.ibm.com (mailing list archive)
State New
Headers show
Series Removing unused macros in arch/powerpc/perf | expand

Commit Message

Likhitha Korrapati April 26, 2025, 3:55 a.m. UTC
The following macros were introduced in power9-pmu via
commit 8c002dbd05ee ("powerpc/perf: Power9 PMU support")

POWER9_MMCRA_IFM2, POWER9_MMCRA_IFM3

Removing the above macros as they are defined but never used.

Co-developed-by: Anjali K <anjalik@linux.ibm.com>
Signed-off-by: Anjali K <anjalik@linux.ibm.com>
Signed-off-by: Likhitha Korrapati <likhitha@linux.ibm.com>
---
 arch/powerpc/perf/power9-pmu.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/powerpc/perf/power9-pmu.c b/arch/powerpc/perf/power9-pmu.c
index cb6a7dc02dd7..4d96830835cd 100644
--- a/arch/powerpc/perf/power9-pmu.c
+++ b/arch/powerpc/perf/power9-pmu.c
@@ -86,8 +86,6 @@  enum {
 
 /* MMCRA IFM bits - POWER9 */
 #define POWER9_MMCRA_IFM1		0x0000000040000000UL
-#define POWER9_MMCRA_IFM2		0x0000000080000000UL
-#define POWER9_MMCRA_IFM3		0x00000000C0000000UL
 #define POWER9_MMCRA_BHRB_MASK		0x00000000C0000000UL
 
 extern u64 PERF_REG_EXTENDED_MASK;