diff options
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 89b0391f14a8..9f646374e32f 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -374,10 +374,6 @@ void online_page(struct page *page) | |||
374 | totalhigh_pages++; | 374 | totalhigh_pages++; |
375 | #endif | 375 | #endif |
376 | 376 | ||
377 | #ifdef CONFIG_FLATMEM | ||
378 | max_mapnr = max(pfn, max_mapnr); | ||
379 | #endif | ||
380 | |||
381 | ClearPageReserved(page); | 377 | ClearPageReserved(page); |
382 | init_page_count(page); | 378 | init_page_count(page); |
383 | __free_page(page); | 379 | __free_page(page); |