diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-07-09 03:00:09 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 21:33:22 +0400 |
commit | 929aaf56958ab2300919653b923413af695470a5 (patch) | |
tree | 322b81aa2fd6b46462669af8a2b5b23b9b798788 /mm/internal.h | |
parent | 59d3132f8abdc18301898febf205d00db5f0458c (diff) | |
download | linux-929aaf56958ab2300919653b923413af695470a5.tar.xz |
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.h | 5 |
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) 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) { |