Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac3bbec5 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by Linus Torvalds
Browse files

mm: remove unused zone_idx variable from set_migratetype_isolate

parent 965f55de
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -5502,10 +5502,8 @@ int set_migratetype_isolate(struct page *page)
	struct memory_isolate_notify arg;
	int notifier_ret;
	int ret = -EBUSY;
	int zone_idx;

	zone = page_zone(page);
	zone_idx = zone_idx(zone);

	spin_lock_irqsave(&zone->lock, flags);