lkml.org 
[lkml]   [2021]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel/sched: remove duplicate include in sched.h sched.h
Date
From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>

'linux/psi.h' included in 'kernel/sched/sched.h' is duplicated. it also
include in 59th line.

Signed-off-by: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
---
kernel/sched/sched.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 10a1522b1e30..235d8381f142 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -344,7 +344,6 @@ extern bool dl_cpu_busy(unsigned int cpu);
#ifdef CONFIG_CGROUP_SCHED

#include <linux/cgroup.h>
-#include <linux/psi.h>

struct cfs_rq;
struct rt_rq;
--
2.25.1
\
 
 \ /
  Last update: 2021-03-04 13:13    [W:0.050 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site