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

Configure Feed

Select the types of activity you want to include in your feed.

selftests/mm: remove duplicate include of unistd.h

Remove duplicate inclusion of unistd.h in memory-failure.c to clean up
redundant code.

Link: https://lkml.kernel.org/r/20260211064311.2981726-1-nichen@iscas.ac.cn
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Chen Ni and committed by
Andrew Morton
15c578d0 26513781

-1
-1
tools/testing/selftests/mm/memory-failure.c
··· 13 13 #include <unistd.h> 14 14 #include <signal.h> 15 15 #include <setjmp.h> 16 - #include <unistd.h> 17 16 #include <fcntl.h> 18 17 #include <sys/vfs.h> 19 18 #include <linux/magic.h>