]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro
authorBa Jing <bajing@cmss.chinamobile.com>
Tue, 3 Sep 2024 03:36:28 +0000 (11:36 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 30 Sep 2024 17:39:56 +0000 (11:39 -0600)
The macro MAX_PID_NS_LEVEL is never referenced in the code, so remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c

index 31b56d6256550b62aca41495f6d716d17cd5f54a..3c196fa86c992324b69087b91378ae20c7fc8895 100644 (file)
@@ -27,8 +27,6 @@
 #include "../kselftest_harness.h"
 #include "clone3_selftests.h"
 
-#define MAX_PID_NS_LEVEL 32
-
 static void child_exit(int ret)
 {
        fflush(stdout);