mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro
@ 2024-09-03  3:36 Ba Jing
  2024-09-25  8:34 ` Christian Brauner
  0 siblings, 1 reply; 3+ messages in thread
From: Ba Jing @ 2024-09-03  3:36 UTC (permalink / raw)
  To: brauner; +Cc: shuah, linux-kernel, linux-kselftest, Ba Jing

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro
  2024-09-03  3:36 [PATCH] clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro Ba Jing
@ 2024-09-25  8:34 ` Christian Brauner
  2024-09-25 17:39   ` Shuah Khan
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Brauner @ 2024-09-25  8:34 UTC (permalink / raw)
  To: Ba Jing; +Cc: shuah, linux-kernel, linux-kselftest

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro
  2024-09-25  8:34 ` Christian Brauner
@ 2024-09-25 17:39   ` Shuah Khan
  0 siblings, 0 replies; 3+ messages in thread
From: Shuah Khan @ 2024-09-25 17:39 UTC (permalink / raw)
  To: Christian Brauner, Ba Jing
  Cc: shuah, linux-kernel, linux-kselftest, Shuah Khan

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-25 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03  3:36 [PATCH] clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro Ba Jing
2024-09-25  8:34 ` Christian Brauner
2024-09-25 17:39   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®