diff options
author | Changcheng Deng <deng.changcheng@zte.com.cn> | 2021-08-24 05:03:38 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-08-25 21:55:30 +0200 |
commit | 3673fdeafd5f9d9aa90b35f7e11a556fe0cbbe62 (patch) | |
tree | 19333e7dbadc0de77d91db8206a5c04b1fe0121c /tools/testing/selftests/sched | |
parent | selftests: openat2: Fix testing failure for O_LARGEFILE flag (diff) | |
download | linux-3673fdeafd5f9d9aa90b35f7e11a556fe0cbbe62.tar.xz 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.c | 2 |
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> |