efi: Remove unused extern declaration efi_lookup_mapped_addr()
authorYueHaibing <yuehaibing@huawei.com>
Tue, 25 Jul 2023 14:03:27 +0000 (22:03 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 3 Aug 2023 13:39:31 +0000 (15:39 +0200)
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@huawei.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
include/linux/efi.h

index ab088c6..e900435 100644 (file)
@@ -726,7 +726,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);