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> --- 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