Nobody use nr_to_isolate in further. It seems, it's historical leftover.

Signed-off-by: Kirill Tkhai <[email protected]>
---
 mm/tcache.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/tcache.c b/mm/tcache.c
index ab70af2c4f7..0e57ae6066d 100644
--- a/mm/tcache.c
+++ b/mm/tcache.c
@@ -1049,7 +1049,6 @@ tcache_lru_isolate(int nid, struct page **pages, int 
nr_to_isolate)
        nr = __tcache_lru_isolate(pni, pages, nr_to_isolate);
        ni->nr_pages -= nr;
        nr_isolated += nr;
-       nr_to_isolate -= nr;
 
        if (!list_empty(&pni->lru))
                __tcache_insert_reclaim_node(ni, pni);

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to