From: "tip-bot2 for GUO Zihua" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: GUO Zihua <guozihua@huawei.com>, Ingo Molnar <mingo@kernel.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: sched/core] sched/headers: Remove duplicated includes in kernel/sched/sched.h
Date: Mon, 18 Sep 2023 07:45:42 -0000 [thread overview]
Message-ID: <169502314296.27769.160204530264678474.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20230818015633.18370-1-guozihua@huawei.com>
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 7ad0354d18ae05e9c8885251e234cbcf141f8972
Gitweb: https://git.kernel.org/tip/7ad0354d18ae05e9c8885251e234cbcf141f8972
Author: GUO Zihua <guozihua@huawei.com>
AuthorDate: Fri, 18 Aug 2023 09:56:33 +08:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Mon, 18 Sep 2023 09:41:37 +02:00
sched/headers: Remove duplicated includes in kernel/sched/sched.h
Remove duplicated includes of linux/cgroup.h and linux/psi.h. Both of
these includes are included regardless of the config and they are all
protected by ifndef, so no point including them again.
Signed-off-by: GUO Zihua <guozihua@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230818015633.18370-1-guozihua@huawei.com
---
kernel/sched/sched.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 887468c..5f217b1 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -74,15 +74,6 @@
#include "../workqueue_internal.h"
-#ifdef CONFIG_CGROUP_SCHED
-#include <linux/cgroup.h>
-#include <linux/psi.h>
-#endif
-
-#ifdef CONFIG_SCHED_DEBUG
-# include <linux/static_key.h>
-#endif
-
#ifdef CONFIG_PARAVIRT
# include <asm/paravirt.h>
# include <asm/paravirt_api_clock.h>
prev parent reply other threads:[~2023-09-18 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 1:56 [PATCH -next] sched: Remove duplicated includes in sched.h GUO Zihua
2023-09-18 7:45 ` tip-bot2 for GUO Zihua [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169502314296.27769.160204530264678474.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=guozihua@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®