[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220317014449.130374-1-jiapeng.chong@linux.alibaba.com>
Date: Thu, 17 Mar 2022 09:44:49 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: mingo@...hat.com
Cc: peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, brauner@...nel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] 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.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.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
Powered by blists - more mailing lists