[PATCH] sched: Remove header files which are included more than once
From: Wenchao Hao
Date: Thu Jun 06 2024 - 05:21:41 EST
Following warning is reported, so remove these duplicated header
including:
./kernel/sched/core.c: stats.h is included more than once.
This is just a clean code, no logic changed.
Signed-off-by: Wenchao Hao <haowenchao22@xxxxxxxxx>
---
kernel/sched/core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index bcf2c4cc0522..8e93fdbfeff4 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -90,7 +90,6 @@
#include "autogroup.h"
#include "pelt.h"
#include "smp.h"
-#include "stats.h"
#include "../workqueue_internal.h"
#include "../../io_uring/io-wq.h"
--
2.38.1