linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/mm: Remove duplicate include of unistd.h
@ 2026-02-11  6:43 Chen Ni
  2026-02-12  1:18 ` Miaohe Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chen Ni @ 2026-02-11  6:43 UTC (permalink / raw)
  To: akpm, shuah
  Cc: linmiaohe, nao.horiguchi, david, lorenzo.stoakes, Liam.Howlett,
	vbabka, rppt, surenb, mhocko, linux-mm, linux-kselftest,
	linux-kernel, Chen Ni

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

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 tools/testing/selftests/mm/memory-failure.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/mm/memory-failure.c b/tools/testing/selftests/mm/memory-failure.c
index 3d9e0b9ffb41..032ed952057c 100644
--- a/tools/testing/selftests/mm/memory-failure.c
+++ b/tools/testing/selftests/mm/memory-failure.c
@@ -13,7 +13,6 @@
 #include <unistd.h>
 #include <signal.h>
 #include <setjmp.h>
-#include <unistd.h>
 #include <fcntl.h>
 #include <sys/vfs.h>
 #include <linux/magic.h>
-- 
2.25.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-12 17:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-11  6:43 [PATCH] selftests/mm: Remove duplicate include of unistd.h Chen Ni
2026-02-12  1:18 ` Miaohe Lin
2026-02-12  1:19 ` SeongJae Park
2026-02-12 16:44 ` Liam R. Howlett
2026-02-12 17:03 ` Dev Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox