Messages in this thread Patch in this message | | | From | Jiapeng Chong <> | Subject | [PATCH] sched/core: Remove duplicated include | Date | Thu, 17 Mar 2022 09:44:49 +0800 |
| |
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
| |