[PATCH -next] powerpc/pmac: remove not use symbol

Christophe Leroy christophe.leroy at csgroup.eu
Thu Mar 3 00:26:25 AEDT 2022



Le 09/04/2021 à 11:35, Zucheng Zheng a écrit :
> sccdbg symbol is not used, so remove it

You could mention that it hasn't been used since commit 51d3082fe6e5 
("[PATCH] powerpc: Unify udbg (#2)")


> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Zucheng Zheng <zhengzucheng at huawei.com>
> ---
>   arch/powerpc/platforms/powermac/setup.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
> index db5107c80485..df9ea37d5708 100644
> --- a/arch/powerpc/platforms/powermac/setup.c
> +++ b/arch/powerpc/platforms/powermac/setup.c
> @@ -83,10 +83,6 @@ extern struct machdep_calls pmac_md;
>   
>   #define DEFAULT_ROOT_DEVICE Root_SDA1	/* sda1 - slightly silly choice */
>   
> -#ifdef CONFIG_PPC64
> -int sccdbg;
> -#endif
> -
>   sys_ctrler_t sys_ctrler = SYS_CTRLER_UNKNOWN;
>   EXPORT_SYMBOL(sys_ctrler);
>   


More information about the Linuxppc-dev mailing list