linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] memcg: remove lookup_cgroup_page() prototype
@ 2014-06-19 22:32 Greg Thelen
  2014-06-23  9:14 ` Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Thelen @ 2014-06-19 22:32 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Johannes Weiner, Michal Hocko, linux-mm, linux-kernel, Greg Thelen

6b208e3f6e35 ("mm: memcg: remove unused node/section info from
pc->flags") deleted the lookup_cgroup_page() function but left a
prototype for it.

Kill the vestigial prototype.

Signed-off-by: Greg Thelen <gthelen@google.com>
---
 include/linux/page_cgroup.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/page_cgroup.h b/include/linux/page_cgroup.h
index 777a524716db..0ff470de3c12 100644
--- a/include/linux/page_cgroup.h
+++ b/include/linux/page_cgroup.h
@@ -42,7 +42,6 @@ static inline void __init page_cgroup_init(void)
 #endif
 
 struct page_cgroup *lookup_page_cgroup(struct page *page);
-struct page *lookup_cgroup_page(struct page_cgroup *pc);
 
 #define TESTPCGFLAG(uname, lname)			\
 static inline int PageCgroup##uname(struct page_cgroup *pc)	\
-- 
2.0.0.526.g5318336


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] memcg: remove lookup_cgroup_page() prototype
  2014-06-19 22:32 [PATCH] memcg: remove lookup_cgroup_page() prototype Greg Thelen
@ 2014-06-23  9:14 ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2014-06-23  9:14 UTC (permalink / raw)
  To: Greg Thelen; +Cc: Andrew Morton, Johannes Weiner, linux-mm, linux-kernel

On Thu 19-06-14 15:32:16, Greg Thelen wrote:
> 6b208e3f6e35 ("mm: memcg: remove unused node/section info from
> pc->flags") deleted the lookup_cgroup_page() function but left a
> prototype for it.
> 
> Kill the vestigial prototype.
> 
> Signed-off-by: Greg Thelen <gthelen@google.com>

Acked-by: Michal Hocko <mhocko@suse.cz>

> ---
>  include/linux/page_cgroup.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/page_cgroup.h b/include/linux/page_cgroup.h
> index 777a524716db..0ff470de3c12 100644
> --- a/include/linux/page_cgroup.h
> +++ b/include/linux/page_cgroup.h
> @@ -42,7 +42,6 @@ static inline void __init page_cgroup_init(void)
>  #endif
>  
>  struct page_cgroup *lookup_page_cgroup(struct page *page);
> -struct page *lookup_cgroup_page(struct page_cgroup *pc);
>  
>  #define TESTPCGFLAG(uname, lname)			\
>  static inline int PageCgroup##uname(struct page_cgroup *pc)	\
> -- 
> 2.0.0.526.g5318336
> 

-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-23  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19 22:32 [PATCH] memcg: remove lookup_cgroup_page() prototype Greg Thelen
2014-06-23  9:14 ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).