summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBa Jing <bajing@cmss.chinamobile.com>2024-09-03 05:36:28 +0200
committerShuah Khan <skhan@linuxfoundation.org>2024-09-30 19:39:56 +0200
commit74923546a0f5affe867a15e83e21c2f043f9298a (patch)
treed5f880ac53bf00d0190e0464ddeb602a1acc489d /tools
parentselftests:timers: posix_timers: Fix warn_unused_result in __fatal_error() (diff)
downloadlinux-74923546a0f5affe867a15e83e21c2f043f9298a.tar.xz
linux-74923546a0f5affe867a15e83e21c2f043f9298a.zip
clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c b/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
index 31b56d625655..3c196fa86c99 100644
--- a/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
+++ b/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
@@ -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);