aboutsummaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2013-07-08 19:00:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 13:33:22 -0400
commit929aaf56958ab2300919653b923413af695470a5 (patch)
tree322b81aa2fd6b46462669af8a2b5b23b9b798788 /mm/internal.h
parent59d3132f8abdc18301898febf205d00db5f0458c (diff)
mm: remove unused __put_page()
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 8562de0a5197..4390ac6c106e 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -32,11 +32,6 @@ static inline void set_page_refcounted(struct page *page)
32 set_page_count(page, 1); 32 set_page_count(page, 1);
33} 33}
34 34
35static inline void __put_page(struct page *page)
36{
37 atomic_dec(&page->_count);
38}
39
40static inline void __get_page_tail_foll(struct page *page, 35static inline void __get_page_tail_foll(struct page *page,
41 bool get_page_head) 36 bool get_page_head)
42{ 37{