[PATCH] powerpc: remove dead code in head_fsl_booke.S

Jason Yan yanaijie at huawei.com
Thu Feb 28 19:31:21 AEDT 2019


This code is dead. Just remove it.

Signed-off-by: Jason Yan <yanaijie at huawei.com>
---
 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 at h
-	mtspr	SPRN_HID0, r2
-#endif
-
 #if !defined(CONFIG_BDI_SWITCH)
 	/*
 	 * The Abatron BDI JTAG debugger does not tolerate others
-- 
2.14.5



More information about the Linuxppc-dev mailing list