diff --git a/mm/compaction.c b/mm/compaction.c index c589ead54fb3..df3da2f76fdc 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -2182,7 +2182,6 @@ compact_zone(struct compact_control *cc, struct capture_control *capc) ret = COMPACT_CONTENDED; putback_movable_pages(&cc->migratepages); cc->nr_migratepages = 0; - last_migrated_pfn = 0; goto out; case ISOLATE_NONE: if (update_cached) {