Messages in this thread | | | From | Marek Vasut <> | Subject | Re: [PATCH] arm: remove unused code in delay.S | Date | Sun, 13 Sep 2009 23:28:47 +0200 |
| |
Dne Ne 13. září 2009 23:05:59 Felipe Contreras napsal(a): > Signed-off-by: Felipe Contreras <felipe.contreras@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) > Hi
why was this code there in the first place ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |