]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kselftest:sched: remove duplicate include in cs_prctl_test.c
authorChangcheng Deng <deng.changcheng@zte.com.cn>
Tue, 24 Aug 2021 03:03:38 +0000 (20:03 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 25 Aug 2021 19:55:30 +0000 (13:55 -0600)
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>
tools/testing/selftests/sched/cs_prctl_test.c

index 63fe6521c56d9b680dcb946cf7cb18c82e4bfc38..7db9cf822dc756241d21815394064a768ebeb7a5 100644 (file)
@@ -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>