[PATCH] powerpc/powermac: Drop the unused debug macro
Denis Kirjanov
kirjanov at gmail.com
Thu Mar 13 19:35:03 AEDT 2025
On Sat, Jan 25, 2025 at 12:47 PM Denis Kirjanov <kirjanov at gmail.com> wrote:
>
> Drop the unused DBG macro
>
> Signed-off-by: Denis Kirjanov <kirjanov at 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
>
--
Regards / Mit besten Grüßen,
Denis
More information about the Linuxppc-dev
mailing list