commit | 15a0456d0b7618554ed3d49287e77b6d43a2812a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jun 05 17:24:30 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jun 05 17:24:30 2014 -0700 |
tree | 5b675e8b31dedd88f02325c3fd14fa9f23c15216 | |
parent | 50b79530c6fea6d47d54edf6f351dcbd7d87ab6a [diff] |
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