Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: APEI: GHES: Remove unused ghes_estatus_pool_size_request()

ghes_estatus_pool_size_request() is unused now, so remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Miaohe Lin and committed by
Rafael J. Wysocki
43482701 9561de3a

-2
-2
drivers/acpi/apei/ghes.c
··· 152 152 }; 153 153 154 154 static struct gen_pool *ghes_estatus_pool; 155 - static unsigned long ghes_estatus_pool_size_request; 156 155 157 156 static struct ghes_estatus_cache __rcu *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE]; 158 157 static atomic_t ghes_estatus_cache_alloced; ··· 190 191 len = GHES_ESTATUS_CACHE_AVG_SIZE * GHES_ESTATUS_CACHE_ALLOCED_MAX; 191 192 len += (num_ghes * GHES_ESOURCE_PREALLOC_MAX_SIZE); 192 193 193 - ghes_estatus_pool_size_request = PAGE_ALIGN(len); 194 194 addr = (unsigned long)vmalloc(PAGE_ALIGN(len)); 195 195 if (!addr) 196 196 goto err_pool_alloc;