aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/sched
diff options
context:
space:
mode:
authorChangcheng Deng <deng.changcheng@zte.com.cn>2021-08-23 20:03:38 -0700
committerShuah Khan <skhan@linuxfoundation.org>2021-08-25 13:55:30 -0600
commit3673fdeafd5f9d9aa90b35f7e11a556fe0cbbe62 (patch)
tree19333e7dbadc0de77d91db8206a5c04b1fe0121c /tools/testing/selftests/sched
parentselftests: openat2: Fix testing failure for O_LARGEFILE flag (diff)
downloadwireguard-linux-3673fdeafd5f9d9aa90b35f7e11a556fe0cbbe62.tar.xz
wireguard-linux-3673fdeafd5f9d9aa90b35f7e11a556fe0cbbe62.zip
kselftest:sched: remove duplicate include in cs_prctl_test.c
Clean up the following includecheck warning: ./tools/testing/selftests/sched/cs_prctl_test.c: Include files sys/types.h and sys/wait.h are included more than once. No functional change. Fixed commit header and log: Shuah Khan <skhan@linuxfoundation.org> Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/sched')
-rw-r--r--tools/testing/selftests/sched/cs_prctl_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/sched/cs_prctl_test.c b/tools/testing/selftests/sched/cs_prctl_test.c
index 63fe6521c56d..7db9cf822dc7 100644
--- a/tools/testing/selftests/sched/cs_prctl_test.c
+++ b/tools/testing/selftests/sched/cs_prctl_test.c
@@ -25,8 +25,6 @@
#include <sys/types.h>
#include <sched.h>
#include <sys/prctl.h>
-#include <sys/types.h>
-#include <sys/wait.h>
#include <unistd.h>
#include <time.h>
#include <stdio.h>