On Tue, Mar 1, 2022 at 5:13 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: [...] > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Subject: mm-list_lru-replace-linear-array-with-xarray-fix > > remove unused local > > mm/list_lru.c: In function 'memcg_list_lru_alloc': > mm/list_lru.c:477:32: error: unused variable 'mlrus' [-Werror=unused-variable] > 477 | struct list_lru_memcg *mlrus; > | ^~~~~ > > Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > > mm/list_lru.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/mm/list_lru.c~mm-list_lru-replace-linear-array-with-xarray-fix > +++ a/mm/list_lru.c > @@ -474,7 +474,6 @@ int memcg_list_lru_alloc(struct mem_cgro > { > int i; > unsigned long flags; > - struct list_lru_memcg *mlrus; > struct list_lru_memcg_table { > struct list_lru_per_memcg *mlru; > struct mem_cgroup *memcg; > _ > Thanks Andrew. I'll fix it in the next version.