From: Miaohe Lin Date: Sat, 3 Jun 2023 14:25:13 +0000 (+0800) Subject: mm: remove obsolete alloc_migrate_target() X-Git-Tag: v6.5-rc1~176^2~192 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e52ee4cc8fa87a75ab0cfc7bf51c0715a880a08e;p=tomoyo%2Ftomoyo-test1.git mm: remove obsolete alloc_migrate_target() 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 Reviewed-by: David Hildenbrand Cc: Johannes Weiner Signed-off-by: Andrew Morton --- diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h index 0ab089e89db4..4ac34392823a 100644 --- a/include/linux/page-isolation.h +++ b/include/linux/page-isolation.h @@ -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