projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d3132
)
mm: remove unused __put_page()
author
Zhang Yanfei
<zhangyanfei@cn.fujitsu.com>
Mon, 8 Jul 2013 23:00:09 +0000
(16:00 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:22 +0000
(10:33 -0700)
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>
mm/internal.h
patch
|
blob
|
blame
|
history
diff --git
a/mm/internal.h
b/mm/internal.h
index 8562de0a5197d31e3621d10db8b0c01d23f44f83..4390ac6c106e6124d653f18948ec296173527521 100644
(file)
--- 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)
{