[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230810120239.26173-1-guozihua@huawei.com>
Date: Thu, 10 Aug 2023 20:02:39 +0800
From: GUO Zihua <guozihua@...wei.com>
To: <mingo@...hat.com>, <peterz@...radead.org>,
<juri.lelli@...hat.com>, <vincent.guittot@...aro.org>
CC: <dietmar.eggemann@....com>, <rostedt@...dmis.org>,
<bsegall@...gle.com>, <mgorman@...e.de>, <bristot@...hat.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH -next] sched: Remove duplicated includes
Remove duplicated includes in kernel/sched/fair.c, kernel/sched/core.c
and kernel/sched/build_utility.c. Resolves checkincludes message.
Signed-off-by: GUO Zihua <guozihua@...wei.com>
---
kernel/sched/build_utility.c | 1 -
kernel/sched/core.c | 2 --
kernel/sched/fair.c | 2 --
3 files changed, 5 deletions(-)
diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c
index 99bdd96f454f..80a3df49ab47 100644
--- a/kernel/sched/build_utility.c
+++ b/kernel/sched/build_utility.c
@@ -34,7 +34,6 @@
#include <linux/nospec.h>
#include <linux/proc_fs.h>
#include <linux/psi.h>
-#include <linux/psi.h>
#include <linux/ptrace_api.h>
#include <linux/sched_clock.h>
#include <linux/security.h>
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 979ed6b40e65..73b61ed8988f 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -87,10 +87,8 @@
#include "stats.h"
#include "autogroup.h"
-#include "autogroup.h"
#include "pelt.h"
#include "smp.h"
-#include "stats.h"
#include "../workqueue_internal.h"
#include "../../io_uring/io-wq.h"
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 8db197b8f10d..4efe3039bfa1 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -51,8 +51,6 @@
#include <asm/switch_to.h>
-#include <linux/sched/cond_resched.h>
-
#include "sched.h"
#include "stats.h"
#include "autogroup.h"
--
2.17.1
Powered by blists - more mailing lists