[PATCH] mm/vmalloc: remove unneeded function forward declaration
From: Miaohe Lin
Date: Mon Jan 24 2022 - 08:38:39 EST
The forward declaration for lazy_max_pages() is unnecessary. Remove it.
Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
---
mm/vmalloc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index bdc7222f87d4..4a89f8d3a812 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -792,7 +792,6 @@ RB_DECLARE_CALLBACKS_MAX(static, free_vmap_area_rb_augment_cb,
static void purge_vmap_area_lazy(void);
static BLOCKING_NOTIFIER_HEAD(vmap_notify_list);
-static unsigned long lazy_max_pages(void);
static atomic_long_t nr_vmalloc_pages;
--
2.23.0