diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-08-30 01:49:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-08-30 01:49:08 -0700 |
| commit | e035a04744af68cc89ef4fb20067cde2c9aff735 (patch) | |
| tree | c38c78b12234fe37502270794695f217e073f241 /include/linux/pagevec.h | |
| parent | c99b0372f7604676a0f5f6835b43ec91c70ed253 (diff) | |
[PATCH] remove pagevec_lru_del()
it was only being used in invalidate_inode_pages(), and from there,
pagevec_release() does the same thing.
Diffstat (limited to 'include/linux/pagevec.h')
| -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 36017cf91bbf..d7fa36270a90 100644 --- a/include/linux/pagevec.h +++ b/include/linux/pagevec.h @@ -18,7 +18,6 @@ void __pagevec_release(struct pagevec *pvec); void __pagevec_release_nonlru(struct pagevec *pvec); void __pagevec_free(struct pagevec *pvec); void __pagevec_lru_add(struct pagevec *pvec); -void __pagevec_lru_del(struct pagevec *pvec); void lru_add_drain(void); void pagevec_deactivate_inactive(struct pagevec *pvec); @@ -69,9 +68,3 @@ static inline void pagevec_lru_add(struct pagevec *pvec) if (pagevec_count(pvec)) __pagevec_lru_add(pvec); } - -static inline void pagevec_lru_del(struct pagevec *pvec) -{ - if (pagevec_count(pvec)) - __pagevec_lru_del(pvec); -} |
