]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm: remove unused __put_page()
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Wed, 19 Jun 2013 00:07:02 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:54 +0000 (17:26 +1000)
This function is nowhere used, and it has a confusing name with put_page
in mm/swap.c.  So better to remove it.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/internal.h

index 8562de0a5197d31e3621d10db8b0c01d23f44f83..4390ac6c106e6124d653f18948ec296173527521 100644 (file)
@@ -32,11 +32,6 @@ static inline void set_page_refcounted(struct page *page)
        set_page_count(page, 1);
 }
 
-static inline void __put_page(struct page *page)
-{
-       atomic_dec(&page->_count);
-}
-
 static inline void __get_page_tail_foll(struct page *page,
                                        bool get_page_head)
 {