[PATCH] arm: remove unused code in delay.S

Felipe Contreras felipe.contreras at gmail.com
Sun Sep 13 17:05:59 EDT 2009


Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
 arch/arm/lib/delay.S |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/arch/arm/lib/delay.S b/arch/arm/lib/delay.S
index 8d6a876..b741eb4 100644
--- a/arch/arm/lib/delay.S
+++ b/arch/arm/lib/delay.S
@@ -42,22 +42,6 @@ ENTRY(__const_udelay)				@ 0 <= r0 <= 0x7fffff06
 @ Delay routine
 ENTRY(__delay)
 		subs	r0, r0, #1
-#if 0
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-		movls	pc, lr
-		subs	r0, r0, #1
-#endif
 		bhi	__delay
 		mov	pc, lr
 ENDPROC(__udelay)
-- 
1.6.5.rc1




More information about the linux-arm-kernel mailing list