Previous commits converted users to the new page extension iteration API. TODO: We can use this implementation for flatmem. Fixes: e98337d11bbd ("mm/contig_alloc: support __GFP_COMP") Signed-off-by: Luiz Capitulino <luizcap@xxxxxxxxxx> --- include/linux/page_ext.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/linux/page_ext.h b/include/linux/page_ext.h index df904544d3fac..4bbc6638fe14f 100644 --- a/include/linux/page_ext.h +++ b/include/linux/page_ext.h @@ -86,13 +86,6 @@ static inline void *page_ext_data(struct page_ext *page_ext, return (void *)(page_ext) + ops->offset; } -static inline struct page_ext *page_ext_next(struct page_ext *curr) -{ - void *next = curr; - next += page_ext_size; - return next; -} - struct page_ext_iter { unsigned long pfn; struct page_ext *page_ext; -- 2.47.1