linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sched: sched: remove duplicate include in 'core.c'
@ 2022-03-17  1:36 cgel.zte
  0 siblings, 0 replies; only message in thread
From: cgel.zte @ 2022-03-17  1:36 UTC (permalink / raw)
  To: mingo
  Cc: juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
	mgorman, bristot, linux-kernel, Changcheng Deng, Zeal Robot

From: Changcheng Deng <deng.changcheng@zte.com.cn>

'stats.h' and 'autogroup.h' included in 'core.c' is duplicated.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
---
 kernel/sched/core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ef31751c5799..0b87a26f231c 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -82,10 +82,8 @@
 #include "stats.h"
 #include "autogroup.h"
 
-#include "autogroup.h"
 #include "pelt.h"
 #include "smp.h"
-#include "stats.h"
 
 #include "../workqueue_internal.h"
 #include "../../fs/io-wq.h"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-17  1:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17  1:36 [PATCH] sched: sched: remove duplicate include in 'core.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).