lkml.org 
[lkml]   [2022]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH linux-next] fork: remove duplicate included header files
Date
From: Xu Panda <xu.panda@zte.com.cn>

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

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
---
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
\
 
 \ /
  Last update: 2022-09-12 09:18    [W:0.396 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site