sched/headers: Remove duplicated includes in kernel/sched/sched.h
authorGUO Zihua <guozihua@huawei.com>
Fri, 18 Aug 2023 01:56:33 +0000 (09:56 +0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 18 Sep 2023 07:41:37 +0000 (09:41 +0200)
commit7ad0354d18ae05e9c8885251e234cbcf141f8972
tree0d4baa00c411958784754e52f48f4279b2b7a450
parent1528c661c24b407e92194426b0adbb43de859ce0
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