Skip to contentSkip to conversation

powerpc/powermac: Drop the unused debug macro

PATCH In review Denis Kirjanov 1 participant 2 messages Jan 25, 2025 – Mar 13, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/powermac: Drop the unused debug macro

Drop the unused DBG macro

---
 arch/powerpc/platforms/powermac/feature.c | 8 --------
 arch/powerpc/platforms/powermac/smp.c     | 8 --------
 arch/powerpc/platforms/powermac/time.c    | 8 --------
 3 files changed, 24 deletions(-)
arch/powerpc/platforms/powermac/feature.c +0 -8
index 2cc257f75c50..6365cea27abc 100644
@@ -39,14 +39,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG_FEATURE
-
-#ifdef DEBUG_FEATURE
-#define DBG(fmt...) printk(KERN_DEBUG fmt)
-#else
-#define DBG(fmt...)
-#endif
-
 #ifdef CONFIG_PPC_BOOK3S_32
 extern int powersave_lowspeed;
 #endif
arch/powerpc/platforms/powermac/smp.c +0 -8
index 09e7fe24fac1..ffd5bc96b92c 100644
@@ -53,14 +53,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG
-
-#ifdef DEBUG
-#define DBG(fmt...) udbg_printf(fmt)
-#else
-#define DBG(fmt...)
-#endif
-
 extern void __secondary_start_pmac_0(void);
 
 static void (*pmac_tb_freeze)(int freeze);
arch/powerpc/platforms/powermac/time.c +0 -8
index 8633891b7aa5..6dc16286691a 100644
@@ -35,14 +35,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG
-
-#ifdef DEBUG
-#define DBG(x...) printk(x)
-#else
-#define DBG(x...)
-#endif
-
 /*
  * Calibrate the decrementer frequency with the VIA timer 1.
  */
Signature · 1 line
2.47.2
#1 lore raw
Quoted 5 lines · Denis Kirjanov

Drop the unused DBG macro

---

Hello, ping?

Quoted 65 lines
 arch/powerpc/platforms/powermac/feature.c | 8 --------
 arch/powerpc/platforms/powermac/smp.c     | 8 --------
 arch/powerpc/platforms/powermac/time.c    | 8 --------
 3 files changed, 24 deletions(-)
arch/powerpc/platforms/powermac/feature.c +0 -8
index 2cc257f75c50..6365cea27abc 100644
@@ -39,14 +39,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG_FEATURE
-
-#ifdef DEBUG_FEATURE
-#define DBG(fmt...) printk(KERN_DEBUG fmt)
-#else
-#define DBG(fmt...)
-#endif
-
 #ifdef CONFIG_PPC_BOOK3S_32
 extern int powersave_lowspeed;
 #endif
arch/powerpc/platforms/powermac/smp.c +0 -8
index 09e7fe24fac1..ffd5bc96b92c 100644
@@ -53,14 +53,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG
-
-#ifdef DEBUG
-#define DBG(fmt...) udbg_printf(fmt)
-#else
-#define DBG(fmt...)
-#endif
-
 extern void __secondary_start_pmac_0(void);
 
 static void (*pmac_tb_freeze)(int freeze);
arch/powerpc/platforms/powermac/time.c +0 -9
index 8633891b7aa5..6dc16286691a 100644
@@ -35,14 +35,6 @@
 
 #include "pmac.h"
 
-#undef DEBUG
-
-#ifdef DEBUG
-#define DBG(x...) printk(x)
-#else
-#define DBG(x...)
-#endif
-
 /*
  * Calibrate the decrementer frequency with the VIA timer 1.
  */
--

2.47.2

Signature · 2 lines
Regards / Mit besten Grüßen,
Denis