summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/umount2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/umount2.c')
-rw-r--r--libc/sysdeps/linux/common/umount2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/umount2.c b/libc/sysdeps/linux/common/umount2.c
index bd44717d4..2cc4a2338 100644
--- a/libc/sysdeps/linux/common/umount2.c
+++ b/libc/sysdeps/linux/common/umount2.c
@@ -13,11 +13,5 @@
#include <sys/mount.h>
#ifdef __NR_umount2 /* Old kernels don't have umount2 */
_syscall2(int, umount2, const char *, special_file, int, flags)
-#else
-int umount2(const char *special_file, int flags)
-{
- __set_errno(ENOSYS);
- return -1;
-}
#endif
#endif