about summary refs log tree commit diff
path: root/ports/sysdeps/unix
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-12-07 12:33:53 +0000
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-12-07 12:33:53 +0000
commit82bf34183f65e122c63360f29630299a8f9c1d87 (patch)
tree8674d4bcc6b7619bab99e1c78b3c171e0da91b06 /ports/sysdeps/unix
parentbb3c2a5391c7bed289bc855036a06a507d988e0d (diff)
downloadglibc-82bf34183f65e122c63360f29630299a8f9c1d87.tar.gz
glibc-82bf34183f65e122c63360f29630299a8f9c1d87.tar.xz
glibc-82bf34183f65e122c63360f29630299a8f9c1d87.zip
aarch64: Resolve sc_err and _x0 defined but not used warnings.
Diffstat (limited to 'ports/sysdeps/unix')
-rw-r--r--ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 62871d4feb..67132e3791 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -208,12 +208,10 @@ __local_syscall_error:						\
     __label__ out;							      \
     __label__ iserr;							      \
     long sc_ret;							      \
-    long sc_err;							      \
     INTERNAL_SYSCALL_DECL (sc_err);					      \
 									      \
     if (__vdso_##name != NULL)						      \
       {									      \
-	register long _x0 asm ("x0");					      \
 	sc_ret = INTERNAL_VSYSCALL_NCS (__vdso_##name, sc_err, nr, ##args);   \
 	if (!INTERNAL_SYSCALL_ERROR_P (sc_ret, sc_err))			      \
 	  goto out;							      \