SPINLOCK: remove unused branch labels from trylock routines
/arch/arm/include/asm/spinlock.h
blob:65fa3c88095c3c7b324a5027610133dc1f825d4b -> blob:0318fca163f18d3f5f3e892ce71e386cce4d5c88
--- arch/arm/include/asm/spinlock.h
+++ 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)