summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/umount.c')
-rw-r--r--libc/sysdeps/linux/common/umount.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/umount.c b/libc/sysdeps/linux/common/umount.c
index 453ecd27b..a084d29bd 100644
--- a/libc/sysdeps/linux/common/umount.c
+++ b/libc/sysdeps/linux/common/umount.c
@@ -28,14 +28,5 @@ int umount(const char *special_file)
return (__syscall_umount2(special_file, 0));
}
-/* arch doesn't provide any umount syscall !? */
-#else
-
-int umount(const char *special_file)
-{
- __set_errno(ENOSYS);
- return -1;
-}
-
#endif
#endif