[PATCH linux-next] fork: remove duplicate included header files

From: cgel . zte
Date: Mon Sep 12 2022 - 03:18:43 EST


From: Xu Panda <xu.panda@xxxxxxxxxx>

linux/sched/mm.h is included more than once.

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Xu Panda <xu.panda@xxxxxxxxxx>
---
kernel/fork.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/fork.c b/kernel/fork.c
index bfb23851b6eb..52e4497635d1 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -96,7 +96,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.15.2