1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

__readlink_chk: Remove micro-optimization

This commit is contained in:
Florian Weimer
2018-08-21 11:24:12 +02:00
parent 88ffb39dc6
commit ef939d928a
3 changed files with 5 additions and 37 deletions

View File

@@ -29,9 +29,5 @@ __readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
if (len > buflen)
__chk_fail ();
#ifdef HAVE_INLINED_SYSCALLS
return INLINE_SYSCALL (readlink, 3, path, buf, len);
#else
return __readlink (path, buf, len);
#endif
}