Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ran Jianping and committed by
Linus Torvalds
b65c23f7 38e719ab

-1
-1
tools/testing/selftests/vm/hugepage-mremap.c
··· 15 15 #include <errno.h> 16 16 #include <fcntl.h> /* Definition of O_* constants */ 17 17 #include <sys/syscall.h> /* Definition of SYS_* constants */ 18 - #include <unistd.h> 19 18 #include <linux/userfaultfd.h> 20 19 #include <sys/ioctl.h> 21 20