]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
memcg: remove lookup_cgroup_page() prototype
authorGreg Thelen <gthelen@google.com>
Thu, 26 Jun 2014 00:42:40 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:40 +0000 (10:42 +1000)
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 <gthelen@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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)
 {