mm: remove obsolete alloc_migrate_target()
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 3 Jun 2023 14:25:13 +0000 (22:25 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 19 Jun 2023 23:19:00 +0000 (16:19 -0700)
There's only declaration left in the header file. Remove it.

Link: https://lkml.kernel.org/r/20230603142513.787000-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-isolation.h

index 0ab089e89db4ba009cd2454936a4ae0396dee848..4ac34392823a9c74321e18096db07d8bba682aea 100644 (file)
@@ -45,7 +45,4 @@ void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
 
 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn,
                        int isol_flags);
-
-struct page *alloc_migrate_target(struct page *page, unsigned long private);
-
 #endif