Messages in this thread Patch in this message | | | From | Mel Gorman <> | Subject | [PATCH 1/3] mm, meminit: Remove early_page_nid_uninitialised | Date | Fri, 8 Jul 2016 21:00:29 +0100 |
| |
The helper early_page_nid_uninitialised() has been dead since commit 974a786e63c9 ("mm, page_alloc: remove MIGRATE_RESERVE") so remove the dead code.
Signed-off-by: Mel Gorman <mgorman@techsingularity.net> --- mm/page_alloc.c | 13 ------------- 1 file changed, 13 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index c1069efcc4d7..a19527aa4243 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -292,14 +292,6 @@ static inline bool __meminit early_page_uninitialised(unsigned long pfn) return false; } -static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) -{ - if (pfn >= NODE_DATA(nid)->first_deferred_pfn) - return true; - - return false; -} - /* * Returns false when the remaining initialisation should be deferred until * later in the boot cycle when it can be parallelised. @@ -339,11 +331,6 @@ static inline bool early_page_uninitialised(unsigned long pfn) return false; } -static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) -{ - return false; -} - static inline bool update_defer_init(pg_data_t *pgdat, unsigned long pfn, unsigned long zone_end, unsigned long *nr_initialised) -- 2.6.4
| |