From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755162AbaFWJOY (ORCPT ); Mon, 23 Jun 2014 05:14:24 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40829 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088AbaFWJOV (ORCPT ); Mon, 23 Jun 2014 05:14:21 -0400 Date: Mon, 23 Jun 2014 11:14:18 +0200 From: Michal Hocko To: Greg Thelen Cc: Andrew Morton , Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memcg: remove lookup_cgroup_page() prototype Message-ID: <20140623091418.GE9743@dhcp22.suse.cz> References: <1403217136-4863-1-git-send-email-gthelen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403217136-4863-1-git-send-email-gthelen@google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Michal Hocko > --- > 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