2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 05:18:00 +00:00

criu-ns: Remove unused _umount

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2020-12-21 20:59:45 +00:00 committed by Andrei Vagin
parent 6fd59abc8f
commit a80f08c2e7

View File

@ -47,14 +47,6 @@ else:
]
_mount.restype = ctypes.c_int
try:
_umount = _libc.umount
except AttributeError:
raise OSError(errno.EINVAL, "umount is not supported on this platform")
else:
_umount.argtypes = [ctypes.c_char]
_umount.restype = ctypes.c_int
def _mount_new_proc():
"""