summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-05-04 19:02:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-05-04 19:02:53 +0000
commit4d093f3b1626be50f473da08144ca77b90c0b4e0 (patch)
treeb9e84f8be45a38139e177610ff68a4248ee2c3a3 /lib/libc
parent9d716f11c84384bf1a4d8d16fa8ee09baa942d50 (diff)
sigpending(2) will never fail. Optimize the syscall stub accordingly like
we do on other architectures. ok mpi@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/aarch64/sys/sigpending.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/arch/aarch64/sys/sigpending.S b/lib/libc/arch/aarch64/sys/sigpending.S
index c532274f79c..abbb862c481 100644
--- a/lib/libc/arch/aarch64/sys/sigpending.S
+++ b/lib/libc/arch/aarch64/sys/sigpending.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigpending.S,v 1.3 2018/08/12 17:15:10 mortimer Exp $ */
+/* $OpenBSD: sigpending.S,v 1.4 2021/05/04 19:02:52 kettenis Exp $ */
/* $NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $ */
/*-
@@ -38,7 +38,6 @@ SYSENTRY(sigpending)
RETGUARD_SETUP(sigpending, x15)
mov x2, x0
SYSTRAP(sigpending)
- bcs CERROR
str w0, [x2]
mov x0, #0
RETGUARD_CHECK(sigpending, x15)