mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
mm: page_alloc: remove alloc_contig_dump_pages() stub
DEFINE_DYNAMIC_DEBUG_METADATA and DYNAMIC_DEBUG_BRANCH already has stub definitions without dynamic debug feature, remove unnecessary alloc_contig_dump_pages() stub. Link: https://lkml.kernel.org/r/20230516063821.121844-7-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org> Cc: David Hildenbrand <david@redhat.com> Cc: "Huang, Ying" <ying.huang@intel.com> Cc: Iurii Zaikin <yzaikin@google.com> Cc: Kees Cook <keescook@chromium.org> Cc: Len Brown <len.brown@intel.com> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: Oscar Salvador <osalvador@suse.de> Cc: Pavel Machek <pavel@ucw.cz> Cc: Rafael J. Wysocki <rafael@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
5b855aa37c
commit
e9f2b529e1
@@ -6213,8 +6213,6 @@ out:
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CONTIG_ALLOC
|
||||
#if defined(CONFIG_DYNAMIC_DEBUG) || \
|
||||
(defined(CONFIG_DYNAMIC_DEBUG_CORE) && defined(DYNAMIC_DEBUG_MODULE))
|
||||
/* Usage: See admin-guide/dynamic-debug-howto.rst */
|
||||
static void alloc_contig_dump_pages(struct list_head *page_list)
|
||||
{
|
||||
@@ -6228,11 +6226,6 @@ static void alloc_contig_dump_pages(struct list_head *page_list)
|
||||
dump_page(page, "migration failure");
|
||||
}
|
||||
}
|
||||
#else
|
||||
static inline void alloc_contig_dump_pages(struct list_head *page_list)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/* [start, end) must belong to a single zone. */
|
||||
int __alloc_contig_migrate_range(struct compact_control *cc,
|
||||
|
Reference in New Issue
Block a user