* [PATCH] fork: remove duplicate include in 'fork.c'
@ 2022-02-17 1:53 cgel.zte
0 siblings, 0 replies; only message in thread
From: cgel.zte @ 2022-02-17 1:53 UTC (permalink / raw)
To: ebiederm
Cc: akpm, axboe, legion, fenghua.yu, david, eb, linux-kernel,
Changcheng Deng, Zeal Robot
From: Changcheng Deng <deng.changcheng@zte.com.cn>
'linux/sched/mm.h' included in 'fork.c' is duplicated.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
---
kernel/fork.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/fork.c b/kernel/fork.c
index 64dbfb9426fd..2bfc74c2d2e3 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -97,7 +97,6 @@
#include <linux/scs.h>
#include <linux/io_uring.h>
#include <linux/bpf.h>
-#include <linux/sched/mm.h>
#include <asm/pgalloc.h>
#include <linux/uaccess.h>
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-17 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17 1:53 [PATCH] fork: remove duplicate include in 'fork.c' cgel.zte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).