aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2011-01-13 18:47:40 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 20:32:50 -0500
commit043d18b1e5bdfc4870b8a19d00f0d5c636a5c231 (patch)
treec2392e1fb2c1f7b23446ae4c59aa2d35134ab3d3 /mm
parentf3e8eb70b1807d1b30aa6972af0cf30077c40112 (diff)
memcg: remove unnecessary return from void-returning mem_cgroup_del_lru_list()
Signed-off-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 9f8ad77f091b..1b44ad64f281 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -821,7 +821,6 @@ void mem_cgroup_del_lru_list(struct page *page, enum lru_list lru)
821 return; 821 return;
822 VM_BUG_ON(list_empty(&pc->lru)); 822 VM_BUG_ON(list_empty(&pc->lru));
823 list_del_init(&pc->lru); 823 list_del_init(&pc->lru);
824 return;
825} 824}
826 825
827void mem_cgroup_del_lru(struct page *page) 826void mem_cgroup_del_lru(struct page *page)