From 5cb72aa7ec26908692c6ea5c1b741b09d8a28d47 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 30 Nov 2015 10:17:13 +0000 Subject: [PATCH] Remove unneeded instructions. Reviewed by: andrew Sponsored by: The FreeBSD Foundation --- sys/arm64/arm64/support.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/arm64/arm64/support.S b/sys/arm64/arm64/support.S index 749fc6e7026..2f42a840122 100644 --- a/sys/arm64/arm64/support.S +++ b/sys/arm64/arm64/support.S @@ -60,7 +60,6 @@ ENTRY(casueword32) b.ne 2f /* Not equal, exit */ stxr w5, w3, [x0] /* Store the new data */ cbnz w5, 1b /* Retry on failure */ - ldrb w0, [x0] /* Try loading the data */ 2: SET_FAULT_HANDLER(xzr, x5) /* Reset the fault handler */ str w4, [x2] /* Store the read data */ mov x0, #0 /* Success */ @@ -81,7 +80,6 @@ ENTRY(casueword) b.ne 2f /* Not equal, exit */ stxr w5, x3, [x0] /* Store the new data */ cbnz w5, 1b /* Retry on failure */ - ldrb w0, [x0] /* Try loading the data */ 2: SET_FAULT_HANDLER(xzr, x5) /* Reset the fault handler */ str x4, [x2] /* Store the read data */ mov x0, #0 /* Success */