From b9c1a2977b161e6befbc1fa770f6fe482ea3e9ca Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Sat, 19 Nov 2022 02:27:22 +0000 Subject: Isolation: Remove nxt_clone(). Since the previous commit, this is no longer used. Reviewed-by: Alejandro Colomar Signed-off-by: Andrew Clayton --- src/nxt_clone.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/nxt_clone.c') diff --git a/src/nxt_clone.c b/src/nxt_clone.c index a98aac47..1cd70f6c 100644 --- a/src/nxt_clone.c +++ b/src/nxt_clone.c @@ -8,20 +8,6 @@ #include #include -#if (NXT_HAVE_LINUX_NS) - -pid_t -nxt_clone(nxt_int_t flags) -{ -#if defined(__s390x__) || defined(__s390__) || defined(__CRIS__) - return syscall(SYS_clone, NULL, flags); -#else - return syscall(SYS_clone, flags, NULL); -#endif -} - -#endif - #if (NXT_HAVE_CLONE_NEWUSER) -- cgit