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

Zucheng Zheng zhengzucheng at huawei.com
Fri Apr 9 19:35:19 AEST 2021


sccdbg symbol is not used, so remove it

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);
 
-- 
2.17.1



More information about the Linuxppc-dev mailing list