diff mbox series

powerpc/powermac: Drop the unused debug macro

Message ID 20250125094651.70708-1-kirjanov@gmail.com (mailing list archive)
State New
Headers show
Series powerpc/powermac: Drop the unused debug macro | expand

Commit Message

Denis Kirjanov Jan. 25, 2025, 9:46 a.m. UTC
Drop the unused DBG macro

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
---
 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(-)

Comments

Denis Kirjanov March 13, 2025, 8:35 a.m. UTC | #1
On Sat, Jan 25, 2025 at 12:47 PM Denis Kirjanov <kirjanov@gmail.com> wrote:
>
> Drop the unused DBG macro
>
> Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
> ---
Hello, ping?

>  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(-)
>
> diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c
> index 2cc257f75c50..6365cea27abc 100644
> --- a/arch/powerpc/platforms/powermac/feature.c
> +++ b/arch/powerpc/platforms/powermac/feature.c
> @@ -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
> diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
> index 09e7fe24fac1..ffd5bc96b92c 100644
> --- a/arch/powerpc/platforms/powermac/smp.c
> +++ b/arch/powerpc/platforms/powermac/smp.c
> @@ -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);
> diff --git a/arch/powerpc/platforms/powermac/time.c b/arch/powerpc/platforms/powermac/time.c
> index 8633891b7aa5..6dc16286691a 100644
> --- a/arch/powerpc/platforms/powermac/time.c
> +++ b/arch/powerpc/platforms/powermac/time.c
> @@ -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
>
diff mbox series

Patch

diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c
index 2cc257f75c50..6365cea27abc 100644
--- a/arch/powerpc/platforms/powermac/feature.c
+++ b/arch/powerpc/platforms/powermac/feature.c
@@ -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
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index 09e7fe24fac1..ffd5bc96b92c 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -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);
diff --git a/arch/powerpc/platforms/powermac/time.c b/arch/powerpc/platforms/powermac/time.c
index 8633891b7aa5..6dc16286691a 100644
--- a/arch/powerpc/platforms/powermac/time.c
+++ b/arch/powerpc/platforms/powermac/time.c
@@ -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.
  */