about summary refs log tree commit diff
path: root/src/thread/arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/arm')
-rw-r--r--src/thread/arm/clone.s2
-rw-r--r--src/thread/arm/syscall_cp.s2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/thread/arm/clone.s b/src/thread/arm/clone.s
index d146999b..b7fb788b 100644
--- a/src/thread/arm/clone.s
+++ b/src/thread/arm/clone.s
@@ -15,8 +15,6 @@ __clone:
 	tst r0,r0
 	beq 1f
 	ldmfd sp!,{r4,r5,r6,r7}
-	tst lr,#1
-	moveq pc,lr
 	bx lr
 
 1:	mov r0,r6
diff --git a/src/thread/arm/syscall_cp.s b/src/thread/arm/syscall_cp.s
index 96ce6135..64528b39 100644
--- a/src/thread/arm/syscall_cp.s
+++ b/src/thread/arm/syscall_cp.s
@@ -22,8 +22,6 @@ __cp_begin:
 	svc 0
 __cp_end:
 	ldmfd sp!,{r4,r5,r6,r7,lr}
-	tst lr,#1
-	moveq pc,lr
 	bx lr
 __cp_cancel:
 	ldmfd sp!,{r4,r5,r6,r7,lr}