Message ID | 20190228083121.30598-1-yanaijie@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e585f51c4ee00046175ace52ca87ea4726302688 |
Headers | show |
Series | powerpc: remove dead code in head_fsl_booke.S | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | next/apply_patch Successfully applied |
snowpatch_ozlabs/build-ppc64le | warning | build succeeded but added 103 new sparse warning(s) |
snowpatch_ozlabs/build-ppc64be | warning | build succeeded but added 103 new sparse warning(s) |
snowpatch_ozlabs/build-ppc64e | warning | build succeeded but added 1 new sparse warning(s) |
snowpatch_ozlabs/build-pmac32 | warning | build succeeded but added 18 new sparse warning(s) |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 13 lines checked |
Le 28/02/2019 à 09:31, Jason Yan a écrit : > This code is dead. Just remove it. > > Signed-off-by: Jason Yan <yanaijie@huawei.com> Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr> This review was easy :) Christophe > --- > arch/powerpc/kernel/head_fsl_booke.S | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S > index 2386ce2a9c6e..b8450f017d85 100644 > --- a/arch/powerpc/kernel/head_fsl_booke.S > +++ b/arch/powerpc/kernel/head_fsl_booke.S > @@ -194,13 +194,6 @@ set_ivor: > #endif > mtspr SPRN_MAS4, r2 > > -#if 0 > - /* Enable DOZE */ > - mfspr r2,SPRN_HID0 > - oris r2,r2,HID0_DOZE@h > - mtspr SPRN_HID0, r2 > -#endif > - > #if !defined(CONFIG_BDI_SWITCH) > /* > * The Abatron BDI JTAG debugger does not tolerate others >
On 2019/2/28 21:00, Christophe Leroy wrote: > > > Le 28/02/2019 à 09:31, Jason Yan a écrit : >> This code is dead. Just remove it. >> >> Signed-off-by: Jason Yan <yanaijie@huawei.com> > > Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr> > > This review was easy :) > > Christophe > Christophe, thanks. >> --- >> arch/powerpc/kernel/head_fsl_booke.S | 7 ------- >> 1 file changed, 7 deletions(-) >> >> diff --git a/arch/powerpc/kernel/head_fsl_booke.S >> b/arch/powerpc/kernel/head_fsl_booke.S >> index 2386ce2a9c6e..b8450f017d85 100644 >> --- a/arch/powerpc/kernel/head_fsl_booke.S >> +++ b/arch/powerpc/kernel/head_fsl_booke.S >> @@ -194,13 +194,6 @@ set_ivor: >> #endif >> mtspr SPRN_MAS4, r2 >> -#if 0 >> - /* Enable DOZE */ >> - mfspr r2,SPRN_HID0 >> - oris r2,r2,HID0_DOZE@h >> - mtspr SPRN_HID0, r2 >> -#endif >> - >> #if !defined(CONFIG_BDI_SWITCH) >> /* >> * The Abatron BDI JTAG debugger does not tolerate others >> > > . >
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index 2386ce2a9c6e..b8450f017d85 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S @@ -194,13 +194,6 @@ set_ivor: #endif mtspr SPRN_MAS4, r2 -#if 0 - /* Enable DOZE */ - mfspr r2,SPRN_HID0 - oris r2,r2,HID0_DOZE@h - mtspr SPRN_HID0, r2 -#endif - #if !defined(CONFIG_BDI_SWITCH) /* * The Abatron BDI JTAG debugger does not tolerate others
This code is dead. Just remove it. Signed-off-by: Jason Yan <yanaijie@huawei.com> --- arch/powerpc/kernel/head_fsl_booke.S | 7 ------- 1 file changed, 7 deletions(-)