mm: Remove unused function __put_page
Subsystems (2)
PATCH 1/1 mm: Remove unused function __put_page
From: Zhang Yanfei <[email protected]>
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 <[email protected]>
--- mm/internal.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
mm/internal.h +0 -5
@@ -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) {
Signature · 7 lines
1.7.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>