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 --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);
On Tue, Sep 03, 2024 at 11:36:28AM GMT, Ba Jing wrote:
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
On 9/25/24 02:34, Christian Brauner wrote:
On Tue, Sep 03, 2024 at 11:36:28AM GMT, Ba Jing wrote:
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
Quick note to say that I will apply the patch after the merge window closes.
thanks, -- Shuah
linux-kselftest-mirror@lists.linaro.org