diff --git a/mm/page_isolation.c b/mm/page_isolation.c index 019280712e1b8b7e075b51573b5c56d07aef3922..e3638a5bafff9b7058e4176973bc965fbb11a4cd 100644 --- a/mm/page_isolation.c +++ b/mm/page_isolation.c @@ -151,8 +151,6 @@ __first_valid_page(unsigned long pfn, unsigned long nr_pages) for (i = 0; i < nr_pages; i++) { struct page *page; - if (!pfn_valid_within(pfn + i)) - continue; page = pfn_to_online_page(pfn + i); if (!page) continue;