[Devel] [PATCH rh7 v3 03/10] tcache: Cleanup unused expression from tcache_lru_isolate()
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Aug 16 17:51:33 MSK 2017
Nobody use nr_to_isolate in further. It seems, it's historical leftover.
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
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);
More information about the Devel
mailing list