2024-06-06 09:21:41

by Wenchao Hao

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Wenchao Hao <[email protected]>
---
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