diff options
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index ca1dd3aa5eee..8e333f953f08 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -1472,7 +1472,6 @@ static int __ref __offline_pages(unsigned long start_pfn, | |||
1472 | struct zone *zone; | 1472 | struct zone *zone; |
1473 | struct memory_notify arg; | 1473 | struct memory_notify arg; |
1474 | 1474 | ||
1475 | BUG_ON(start_pfn >= end_pfn); | ||
1476 | /* at least, alignment against pageblock is necessary */ | 1475 | /* at least, alignment against pageblock is necessary */ |
1477 | if (!IS_ALIGNED(start_pfn, pageblock_nr_pages)) | 1476 | if (!IS_ALIGNED(start_pfn, pageblock_nr_pages)) |
1478 | return -EINVAL; | 1477 | return -EINVAL; |