On Sat, Aug 19, 2023 at 1:14 AM Lu Jialin <lujialin4@xxxxxxxxxx> wrote: > > __mem_cgroup_uncharge_swap is only called in mem_cgroup_uncharge_swap, > if mem cgroup is disabled, __mem_cgroup_uncharge_swap cannot be called. > Therefore, there is no need to judge whether mem_cgroup is disabled or > not. > > Signed-off-by: Lu Jialin <lujialin4@xxxxxxxxxx> Acked-by: Shakeel Butt <shakeelb@xxxxxxxxxx>