提交 3cbb0187 编写于 作者: G Greg Thelen 提交者: Linus Torvalds

memcg: remove lookup_cgroup_page() prototype

Commit 6b208e3f ("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: NGreg Thelen <gthelen@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: NMichal Hocko <mhocko@suse.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 9a3f4d85
...@@ -40,7 +40,6 @@ static inline void page_cgroup_init(void) ...@@ -40,7 +40,6 @@ static inline void page_cgroup_init(void)
#endif #endif
struct page_cgroup *lookup_page_cgroup(struct page *page); 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) static inline int PageCgroupUsed(struct page_cgroup *pc)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册