Skip to contentSkip to conversation

sched/core: Remove duplicated include

PATCH New Jiapeng Chong 1 participant 1 message Mar 17, 2022 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/core: Remove duplicated include

Clean up the following includecheck warning:

./kernel/sched/core.c: stats.h is included more than once. ./kernel/sched/core.c: linux/sched/rseq_api.h is included more than once.
./kernel/sched/core.c: autogroup.h is included more than once.

---
 kernel/sched/core.c | 3 ---
 1 file changed, 3 deletions(-)
kernel/sched/core.c +0 -3
index ef31751c5799..22d5cf4c4ab5 100644
@@ -74,15 +74,12 @@
 #include <asm/tlb.h>
 
 #define CREATE_TRACE_POINTS
-#include <linux/sched/rseq_api.h>
 #include <trace/events/sched.h>
 #undef CREATE_TRACE_POINTS
 
 #include "sched.h"
-#include "stats.h"
 #include "autogroup.h"
 
-#include "autogroup.h"
 #include "pelt.h"
 #include "smp.h"
 #include "stats.h"
Signature · 1 line
2.20.1.7.g153144c