summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-03-23 00:42:47 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 01:57:05 +0300
commit651d55ce096543c52f7e589d04dfa7393f90ff47 (patch)
treef807fd390c1f1b02b630e15b49f27660f693ab4b /mm/vmalloc.c
parentc7878534a1b61c5cc2effa3a539099f2cf87cd3a (diff)
downloadlinux-651d55ce096543c52f7e589d04dfa7393f90ff47.tar.xz
mm/vmalloc: remove unneeded function forward declaration
The forward declaration for lazy_max_pages() is unnecessary. Remove it. Link: https://lkml.kernel.org/r/20220124133752.60663-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Uladzislau Rezki <urezki@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index d0b14dd73adc..b8aa02293d57 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -791,7 +791,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;