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

2022-03-02 Thread Christophe Leroy




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


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

2021-04-09 Thread Zucheng Zheng
sccdbg symbol is not used, so remove it

Reported-by: Hulk Robot 
Signed-off-by: Zucheng Zheng 
---
 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