Skip to content

Commit

Permalink
memcg: remove lookup_cgroup_page() prototype
Browse files Browse the repository at this point in the history
Commit 6b208e3 ("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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Greg Thelen authored and Linus Torvalds committed Aug 8, 2014
1 parent 9a3f4d8 commit 3cbb018
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/page_cgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3cbb018

Please sign in to comment.