diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-01-10 18:07:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:41 -0500 |
commit | da066ad3570b88e7dee82e76a06ee9a7adffcf0d (patch) | |
tree | 0587cac700f316f9d658e350c0ddf4b4331413a5 /include | |
parent | cc59850ef940e4ee6a765d28b439b9bafe07cf63 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pagevec.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/pagevec.h b/include/linux/pagevec.h index bab82f4c571c..ed17024d2ebe 100644 --- a/include/linux/pagevec.h +++ b/include/linux/pagevec.h | |||
@@ -21,7 +21,6 @@ struct pagevec { | |||
21 | }; | 21 | }; |
22 | 22 | ||
23 | void __pagevec_release(struct pagevec *pvec); | 23 | void __pagevec_release(struct pagevec *pvec); |
24 | void __pagevec_free(struct pagevec *pvec); | ||
25 | void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru); | 24 | void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru); |
26 | void pagevec_strip(struct pagevec *pvec); | 25 | void pagevec_strip(struct pagevec *pvec); |
27 | unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, | 26 | unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, |
@@ -67,12 +66,6 @@ static inline void pagevec_release(struct pagevec *pvec) | |||
67 | __pagevec_release(pvec); | 66 | __pagevec_release(pvec); |
68 | } | 67 | } |
69 | 68 | ||
70 | static inline void pagevec_free(struct pagevec *pvec) | ||
71 | { | ||
72 | if (pagevec_count(pvec)) | ||
73 | __pagevec_free(pvec); | ||
74 | } | ||
75 | |||
76 | static inline void __pagevec_lru_add_anon(struct pagevec *pvec) | 69 | static inline void __pagevec_lru_add_anon(struct pagevec *pvec) |
77 | { | 70 | { |
78 | ____pagevec_lru_add(pvec, LRU_INACTIVE_ANON); | 71 | ____pagevec_lru_add(pvec, LRU_INACTIVE_ANON); |