mm: remove unused pagevec_free
It not exported and now nobody uses it. Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Cc: Mel Gorman <mel@csn.ul.ie> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
cc59850ef9
commit
da066ad357
@@ -21,7 +21,6 @@ struct pagevec {
|
||||
};
|
||||
|
||||
void __pagevec_release(struct pagevec *pvec);
|
||||
void __pagevec_free(struct pagevec *pvec);
|
||||
void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
|
||||
void pagevec_strip(struct pagevec *pvec);
|
||||
unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
|
||||
@@ -67,12 +66,6 @@ static inline void pagevec_release(struct pagevec *pvec)
|
||||
__pagevec_release(pvec);
|
||||
}
|
||||
|
||||
static inline void pagevec_free(struct pagevec *pvec)
|
||||
{
|
||||
if (pagevec_count(pvec))
|
||||
__pagevec_free(pvec);
|
||||
}
|
||||
|
||||
static inline void __pagevec_lru_add_anon(struct pagevec *pvec)
|
||||
{
|
||||
____pagevec_lru_add(pvec, LRU_INACTIVE_ANON);
|
||||
|
Reference in New Issue
Block a user