summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRan Jianping <ran.jianping@zte.com.cn>2021-11-05 13:41:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 13:30:39 -0700
commitb65c23f72e77f87b31cf978fb0915d80875e26a0 (patch)
tree883960ea9a4e39a4b517b44a11c20b1055b54f56 /tools
parent38e719ab26735aa2c5d9d422fc4b741cbd36e700 (diff)
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')
-rw-r--r--tools/testing/selftests/vm/hugepage-mremap.c1
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>