mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
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>
This commit is contained in:
parent
f3e8eb70b1
commit
043d18b1e5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user