mm/memcontrol.c: remove unused mem_cgroup_lru_names_not_uptodate()
authorRickard Strandqvist <[email protected]>
Sat, 13 Dec 2014 00:56:41 +0000 (16:56 -0800)
committerLinus Torvalds <[email protected]>
Sat, 13 Dec 2014 20:42:49 +0000 (12:42 -0800)
commit70bc068c4f94e42b79de8f80d0aa560bc6daedec
tree69540286d77a02fee765b781fcda4a4693756222
parent8135be5a8012f4c7e95218563855e16c09a8271b
mm/memcontrol.c: remove unused mem_cgroup_lru_names_not_uptodate()

Remove unused mem_cgroup_lru_names_not_uptodate() and move BUILD_BUG_ON()
to the beginning of memcg_stat_show().

This was partially found by using a static code analysis program called
cppcheck.

Signed-off-by: Rickard Strandqvist <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c