Message ID | 20210409093519.118000-1-zhengzucheng@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Christophe Leroy |
Headers | show |
Series | [-next] powerpc/pmac: remove not use symbol | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch powerpc/merge (f2b8ef18c8e0634e176be99dcf242e515cfdb1d3) |
snowpatch_ozlabs/build-ppc64le | success | Build succeeded |
snowpatch_ozlabs/build-ppc64be | success | Build succeeded and removed 1 sparse warnings |
snowpatch_ozlabs/build-ppc64e | success | Build succeeded |
snowpatch_ozlabs/build-pmac32 | success | Build succeeded |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 10 lines checked |
snowpatch_ozlabs/needsstable | success | Patch has no Fixes tags |
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@huawei.com> > Signed-off-by: Zucheng Zheng <zhengzucheng@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); >
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);
sccdbg symbol is not used, so remove it Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zucheng Zheng <zhengzucheng@huawei.com> --- arch/powerpc/platforms/powermac/setup.c | 4 ---- 1 file changed, 4 deletions(-)