sched/psi: Remove redundant cgroup_psi() when !CONFIG_CGROUPS
authorHao Jia <jiahao.os@bytedance.com>
Sat, 6 Aug 2022 12:05:10 +0000 (20:05 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 15 Aug 2022 22:35:31 +0000 (12:35 -1000)
commitd7ae5818c3fa3007dee13f9d99832e7f26b8bc44
tree1fb4339f0688e350abd546e382e757233e590e15
parent76b079ef4cc954fc2c2e0333a01855b0b2b6bdee
sched/psi: Remove redundant cgroup_psi() when !CONFIG_CGROUPS

cgroup_psi() is only called under CONFIG_CGROUPS.
We don't need cgroup_psi() when !CONFIG_CGROUPS,
so we can remove it in this case.

Signed-off-by: Hao Jia <jiahao.os@bytedance.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup.h