[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240903033628.10306-1-bajing@cmss.chinamobile.com>
Date: Tue, 3 Sep 2024 11:36:28 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: brauner@...nel.org
Cc: shuah@...nel.org,
linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] 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@...s.chinamobile.com>
---
tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c | 2 --
1 file changed, 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);
--
2.33.0
Powered by blists - more mailing lists