selftests: clone3: remove duplicate defines
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 6 Oct 2023 10:07:36 +0000 (15:07 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 6 Oct 2023 23:33:42 +0000 (17:33 -0600)
commit44eebacd6b8f633eb3a38a6db093658636b844e8
tree6d44193e71ac5b583c6d103b74c862172545cddf
parentdfc033059bb6aa7d219fc25d113b3886131b0a6c
selftests: clone3: remove duplicate defines

Remove duplicate defines which are already included in kernel headers.
MAX_PID_NS_LEVEL macro is used inside kernel only. It isn't exposed to
userspace. So it is never defined in test application. Remove #ifndef in
this case.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
tools/testing/selftests/clone3/clone3_clear_sighand.c
tools/testing/selftests/clone3/clone3_selftests.h
tools/testing/selftests/clone3/clone3_set_tid.c