From: Minchan Kim Date: Thu, 13 Jan 2011 23:47:40 +0000 (-0800) Subject: memcg: remove unnecessary return from void-returning mem_cgroup_del_lru_list() X-Git-Tag: v2.6.38-rc1~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=043d18b1e5bdfc4870b8a19d00f0d5c636a5c231;p=platform%2Fkernel%2Flinux-exynos.git memcg: remove unnecessary return from void-returning mem_cgroup_del_lru_list() Signed-off-by: Minchan Kim Acked-by: Balbir Singh Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)