Re: [PATCH -next] efi: Remove unused extern declaration efi_lookup_mapped_addr()

From: Ard Biesheuvel
Date: Thu Aug 03 2023 - 09:45:19 EST


On Tue, 25 Jul 2023 at 16:04, YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
>
> Since commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT data")
> this extern declaration is not used anymore.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Queued up in efi/next - thanks,


> ---
> include/linux/efi.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/efi.h b/include/linux/efi.h
> index c31a9895ecb8..d4ec0d9c896f 100644
> --- a/include/linux/efi.h
> +++ b/include/linux/efi.h
> @@ -727,7 +727,6 @@ static inline efi_status_t efi_query_variable_store(u32 attributes,
> return EFI_SUCCESS;
> }
> #endif
> -extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr);
>
> extern int __init __efi_memmap_init(struct efi_memory_map_data *data);
> extern int __init efi_memmap_init_early(struct efi_memory_map_data *data);
> --
> 2.34.1
>