Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[platform/kernel/linux-starfive.git] / mm / page_isolation.c
index 04141a9..47fbc16 100644 (file)
@@ -330,7 +330,7 @@ static int isolate_single_pageblock(unsigned long boundary_pfn, int flags,
                                      zone->zone_start_pfn);
 
        if (skip_isolation) {
-               int mt = get_pageblock_migratetype(pfn_to_page(isolate_pageblock));
+               int mt __maybe_unused = get_pageblock_migratetype(pfn_to_page(isolate_pageblock));
 
                VM_BUG_ON(!is_migrate_isolate(mt));
        } else {