Skip to contentSkip to conversation

sched: Remove header files which are included more than once

PATCH New Wenchao Hao 1 participant 1 message Jun 6, 2024 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Remove header files which are included more than once

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.

---
 kernel/sched/core.c | 1 -
 1 file changed, 1 deletion(-)
kernel/sched/core.c +0 -1
index bcf2c4cc0522..8e93fdbfeff4 100644
@@ -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"
Signature · 1 line
2.38.1