diff options
author | Tejun Heo <htejun@gmail.com> | 2005-10-30 23:02:40 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 01:37:22 (GMT) |
commit | c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8 (patch) | |
tree | f044e989da0864fb614200f419f8185de5bd5560 | |
parent | 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a (diff) | |
download | linux-fsl-qoriq-c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8.tar.xz |
[PATCH] vm: remove redundant assignment from __pagevec_release_nonlru()
This patch removes redundant assignment from __pagevec_release_nonlru().
pages_to_free.cold is set to pvec->cold by pagevec_init() call right above
the assignment.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | mm/swap.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -270,7 +270,6 @@ void __pagevec_release_nonlru(struct pagevec *pvec) struct pagevec pages_to_free; pagevec_init(&pages_to_free, pvec->cold); - pages_to_free.cold = pvec->cold; for (i = 0; i < pagevec_count(pvec); i++) { struct page *page = pvec->pages[i]; |