[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230522155341.9420-1-yanyan.yan@antgroup.com>
Date: Mon, 22 May 2023 23:53:41 +0800
From: "Yan Yan(cailing)" <yanyan.yan@...group.com>
To: linux-kernel@...r.kernel.org
Cc: "谈鉴锋" <henry.tjf@...group.com>,
<christophe.jaillet@...adoo.fr>,
"Yan Yan(cailing)" <yanyan.yan@...group.com>,
"Ingo Molnar" <mingo@...hat.com>,
"Peter Zijlstra" <peterz@...radead.org>,
"Juri Lelli" <juri.lelli@...hat.com>,
"Vincent Guittot" <vincent.guittot@...aro.org>,
"Dietmar Eggemann" <dietmar.eggemann@....com>,
"Steven Rostedt" <rostedt@...dmis.org>,
"Ben Segall" <bsegall@...gle.com>, "Mel Gorman" <mgorman@...e.de>,
"Daniel Bristot de Oliveira" <bristot@...hat.com>,
"Valentin Schneider" <vschneid@...hat.com>
Subject: [PATCH v2] sched/headers: remove duplicate included header files
These headers are included more than once, some also appear in
kernel/sched/sched.h, so remove them.
Signed-off-by: Yan Yan <yanyan.yan@...group.com>
---
kernel/sched/build_utility.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c
index 99bdd96f454f..b9ae5fe42f7b 100644
--- a/kernel/sched/build_utility.c
+++ b/kernel/sched/build_utility.c
@@ -13,16 +13,10 @@
#include <linux/sched/cputime.h>
#include <linux/sched/debug.h>
#include <linux/sched/isolation.h>
-#include <linux/sched/loadavg.h>
#include <linux/sched/nohz.h>
-#include <linux/sched/mm.h>
-#include <linux/sched/rseq_api.h>
#include <linux/sched/task_stack.h>
-#include <linux/cpufreq.h>
-#include <linux/cpumask_api.h>
#include <linux/cpuset.h>
-#include <linux/ctype.h>
#include <linux/debugfs.h>
#include <linux/energy_model.h>
#include <linux/hashtable_api.h>
@@ -32,18 +26,12 @@
#include <linux/mempolicy.h>
#include <linux/nmi.h>
#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>
-#include <linux/spinlock_api.h>
#include <linux/swait_api.h>
#include <linux/timex.h>
#include <linux/utsname.h>
-#include <linux/wait_api.h>
-#include <linux/workqueue_api.h>
#include <uapi/linux/prctl.h>
#include <uapi/linux/sched/types.h>
--
2.40.0
Powered by blists - more mailing lists