alinux: mm: remove unused variable
To fix the following build warning:
mm/memcontrol.c: In function ‘mem_cgroup_move_account’:
mm/memcontrol.c:5604:6: warning: unused variable ‘nid’ [-Wunused-variable]
int nid = page_to_nid(page);
^
Fixes: 96298509 ("mm: thp: don't need care deferred split queue in memcg charge move path")
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Acked-by: NYang Shi <yang.shi@linux.alibaba.com>
Showing
想要评论请 注册 或 登录