Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: Remove unneeded selftest API headers

Remove unused includes of the kselftest.h header.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Kees Cook and committed by
Shuah Khan
ce79097a 51ad5b54

-4
-1
tools/testing/selftests/pid_namespace/regression_enomem.c
··· 11 11 #include <syscall.h> 12 12 #include <sys/wait.h> 13 13 14 - #include "../kselftest.h" 15 14 #include "../kselftest_harness.h" 16 15 #include "../pidfd/pidfd.h" 17 16
-1
tools/testing/selftests/pidfd/pidfd_getfd_test.c
··· 18 18 #include <linux/kcmp.h> 19 19 20 20 #include "pidfd.h" 21 - #include "../kselftest.h" 22 21 #include "../kselftest_harness.h" 23 22 24 23 /*
-1
tools/testing/selftests/pidfd/pidfd_setns_test.c
··· 20 20 21 21 #include "pidfd.h" 22 22 #include "../clone3/clone3_selftests.h" 23 - #include "../kselftest.h" 24 23 #include "../kselftest_harness.h" 25 24 26 25 enum {
-1
tools/testing/selftests/uevent/uevent_filtering.c
··· 19 19 #include <sys/wait.h> 20 20 #include <unistd.h> 21 21 22 - #include "../kselftest.h" 23 22 #include "../kselftest_harness.h" 24 23 25 24 #define __DEV_FULL "/sys/devices/virtual/mem/full/uevent"