diff mbox series

clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro

Message ID 20240903033628.10306-1-bajing@cmss.chinamobile.com
State New
Headers show
Series clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro | expand

Commit Message

Ba Jing Sept. 3, 2024, 3:36 a.m. UTC
The macro MAX_PID_NS_LEVEL is never referenced in the code, so remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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);