memcg: remove lookup_cgroup_page() prototype
authorGreg Thelen <[email protected]>
Fri, 8 Aug 2014 21:19:31 +0000 (14:19 -0700)
committerLinus Torvalds <[email protected]>
Fri, 8 Aug 2014 22:57:18 +0000 (15:57 -0700)
Commit 6b208e3f6e35 ("mm: memcg: remove unused node/section info from
pc->flags") deleted lookup_cgroup_page() but left a prototype for it.

Kill the vestigial prototype.

Signed-off-by: Greg Thelen <[email protected]>
Cc: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/page_cgroup.h

index 9d9f540658f5b5a7f2bdeda3c4a0e3f3e20accf0..5c831f1eca798d06e35c02c32e29353cc511d74e 100644 (file)
@@ -40,7 +40,6 @@ static inline void page_cgroup_init(void)
 #endif
 
 struct page_cgroup *lookup_page_cgroup(struct page *page);
-struct page *lookup_cgroup_page(struct page_cgroup *pc);
 
 static inline int PageCgroupUsed(struct page_cgroup *pc)
 {