From: Chad Goodman Date: Wed, 19 Dec 2012 07:24:01 +0000 (-0800) Subject: SPINLOCK: remove unused branch labels from trylock routines X-Git-Url: https://ziggy471.com/git/gitweb.cgi?p=ziggy471-sgn2-jb.git;a=commitdiff;h=76d7eeb30eb723ee0ce8e1282a7351ac830854fc SPINLOCK: remove unused branch labels from trylock routines Signed-off-by: Ziggy --- --- a/arch/arm/include/asm/spinlock.h +++ b/arch/arm/include/asm/spinlock.h @@ -158,7 +158,7 @@ static inline int arch_write_trylock(arc unsigned long tmp; __asm__ __volatile__( -"1: ldrex %0, [%1]\n" +" ldrex %0, [%1]\n" " teq %0, #0\n" " strexeq %0, %2, [%1]" : "=&r" (tmp) @@ -244,7 +244,7 @@ static inline int arch_read_trylock(arch unsigned long tmp, tmp2 = 1; __asm__ __volatile__( -"1: ldrex %0, [%2]\n" +" ldrex %0, [%2]\n" " adds %0, %0, #1\n" " strexpl %1, %0, [%2]\n" : "=&r" (tmp), "+r" (tmp2)