diff options
author | 2021-11-05 13:41:49 -0700 | |
---|---|---|
committer | 2021-11-06 13:30:39 -0700 | |
commit | b65c23f72e77f87b31cf978fb0915d80875e26a0 (patch) | |
tree | 883960ea9a4e39a4b517b44a11c20b1055b54f56 /tools/testing/selftests/vm | |
parent | hugetlb: support node specified when using cma for gigantic hugepages (diff) | |
download | linux-b65c23f72e77f87b31cf978fb0915d80875e26a0.tar.gz linux-b65c23f72e77f87b31cf978fb0915d80875e26a0.tar.bz2 linux-b65c23f72e77f87b31cf978fb0915d80875e26a0.zip |
mm: remove duplicate include in hugepage-mremap.c
Remove duplicate includes 'unistd.h' included in
'/tools/testing/selftests/vm/hugepage-mremap.c' is duplicated.It is also
included on 23 line.
Link: https://lkml.kernel.org/r/20211018102336.869726-1-ran.jianping@zte.com.cn
Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm')
-rw-r--r-- | tools/testing/selftests/vm/hugepage-mremap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/hugepage-mremap.c b/tools/testing/selftests/vm/hugepage-mremap.c index 68b8b8c4b2e6..257df94697a5 100644 --- a/tools/testing/selftests/vm/hugepage-mremap.c +++ b/tools/testing/selftests/vm/hugepage-mremap.c @@ -15,7 +15,6 @@ #include <errno.h> #include <fcntl.h> /* Definition of O_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ -#include <unistd.h> #include <linux/userfaultfd.h> #include <sys/ioctl.h> |