diff mbox series

clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro

Message ID 20240903033628.10306-1-bajing@cmss.chinamobile.com (mailing list archive)
State Accepted
Commit 74923546a0f5affe867a15e83e21c2f043f9298a
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(-)

Comments

Christian Brauner Sept. 25, 2024, 8:34 a.m. UTC | #1
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>
Shuah Khan Sept. 25, 2024, 5:39 p.m. UTC | #2
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
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);