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-Url: https://git.stricted.de/?a=commitdiff_plain;h=043d18b1e5bdfc4870b8a19d00f0d5c636a5c231;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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)