[PATCH] sched/core: Remove duplicated include

Jiapeng Chong posted 1 patch 4 years, 3 months ago
kernel/sched/core.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH] sched/core: Remove duplicated include
Posted by Jiapeng Chong 4 years, 3 months ago
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.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 kernel/sched/core.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ef31751c5799..22d5cf4c4ab5 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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"
-- 
2.20.1.7.g153144c