diff options
author | Miaohe Lin | 2022-03-22 14:42:47 -0700 |
---|---|---|
committer | Linus Torvalds | 2022-03-22 15:57:05 -0700 |
commit | 651d55ce096543c52f7e589d04dfa7393f90ff47 (patch) | |
tree | f807fd390c1f1b02b630e15b49f27660f693ab4b /mm | |
parent | c7878534a1b61c5cc2effa3a539099f2cf87cd3a (diff) |
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')
-rw-r--r-- | mm/vmalloc.c | 1 |
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; |