Commit 9c39c6ff authored by Zhang Yunkai's avatar Zhang Yunkai Committed by Linus Torvalds

selftests: remove duplicate include

'assert.h' included in 'sparsebit.c' is duplicated.
It is also included in the 161th line.
'string.h' included in 'mincore_selftest.c' is duplicated.
It is also included in the 15th line.
'sched.h' included in 'tlbie_test.c' is duplicated.
It is also included in the 33th line.

Link: https://lkml.kernel.org/r/20210316073336.426255-1-zhang.yunkai@zte.com.cnSigned-off-by: default avatarZhang Yunkai <zhang.yunkai@zte.com.cn>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 56fd9491
...@@ -1890,7 +1890,6 @@ void sparsebit_validate_internal(struct sparsebit *s) ...@@ -1890,7 +1890,6 @@ void sparsebit_validate_internal(struct sparsebit *s)
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <assert.h>
struct range { struct range {
sparsebit_idx_t first, last; sparsebit_idx_t first, last;
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h>
#include "../kselftest.h" #include "../kselftest.h"
#include "../kselftest_harness.h" #include "../kselftest_harness.h"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <sched.h> #include <sched.h>
#include <time.h> #include <time.h>
#include <stdarg.h> #include <stdarg.h>
#include <sched.h>
#include <pthread.h> #include <pthread.h>
#include <signal.h> #include <signal.h>
#include <sys/prctl.h> #include <sys/prctl.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment