summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2011-01-14 02:47:40 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 04:32:50 +0300
commit043d18b1e5bdfc4870b8a19d00f0d5c636a5c231 (patch)
treec2392e1fb2c1f7b23446ae4c59aa2d35134ab3d3 /mm/memcontrol.c
parentf3e8eb70b1807d1b30aa6972af0cf30077c40112 (diff)
downloadlinux-043d18b1e5bdfc4870b8a19d00f0d5c636a5c231.tar.xz
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/memcontrol.c')
-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)
return;
VM_BUG_ON(list_empty(&pc->lru));
list_del_init(&pc->lru);
- return;
}
void mem_cgroup_del_lru(struct page *page)