Re: [PATCH] mm: memcontrol: Remove unused mod_memcg_obj_state()

From: Shakeel Butt
Date: Mon Oct 19 2020 - 11:13:04 EST


On Tue, Oct 13, 2020 at 8:36 AM Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
>
> Since commit:
>
> 991e7673859e ("mm: memcontrol: account kernel stack per node")
>
> There is no user of the mod_memcg_obj_state(). This patch just remove
> it. Also rework type of the idx parameter of the mod_objcg_state()
> from int to enum node_stat_item.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>