diff options
author | Elliott Hughes <enh@google.com> | 2014-06-05 17:24:30 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-06-05 17:24:30 -0700 |
commit | 15a0456d0b7618554ed3d49287e77b6d43a2812a (patch) | |
tree | 5b675e8b31dedd88f02325c3fd14fa9f23c15216 /libc/arch-x86/syscalls/__timer_create.S | |
parent | 50b79530c6fea6d47d54edf6f351dcbd7d87ab6a (diff) | |
download | bionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.zip bionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.tar.gz bionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.tar.bz2 |
Remove unnecessary instructions from x86/x86_64 syscalls.
__set_errno returns -1 exactly so that callers don't need to bother.
The other architectures were already taking advantage of this, but
no one had ever fixed x86 and x86_64.
Change-Id: Ie131494be664f6c4a1bbf8c61bbbed58eac56122
Diffstat (limited to 'libc/arch-x86/syscalls/__timer_create.S')
-rw-r--r-- | libc/arch-x86/syscalls/__timer_create.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S index 520046f..3d28ae9 100644 --- a/libc/arch-x86/syscalls/__timer_create.S +++ b/libc/arch-x86/syscalls/__timer_create.S @@ -23,7 +23,6 @@ ENTRY(__timer_create) pushl %eax call __set_errno addl $4, %esp - orl $-1, %eax 1: popl %edx popl %ecx |