diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2011-01-13 18:47:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:50 -0500 |
commit | 043d18b1e5bdfc4870b8a19d00f0d5c636a5c231 (patch) | |
tree | c2392e1fb2c1f7b23446ae4c59aa2d35134ab3d3 /mm | |
parent | f3e8eb70b1807d1b30aa6972af0cf30077c40112 (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.c | 1 |
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 | ||
827 | void mem_cgroup_del_lru(struct page *page) | 826 | void mem_cgroup_del_lru(struct page *page) |