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

From: Christophe Leroy
Date: Wed Mar 02 2022 - 08:26:33 EST




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@xxxxxxxxxx>
Signed-off-by: Zucheng Zheng <zhengzucheng@xxxxxxxxxx>
---
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);