From: Yue Haibing Date: Mon, 5 Aug 2024 14:00:38 +0000 (+0800) Subject: arm64: mm: Remove unused declaration early_io_map() X-Git-Tag: v6.12-rc1~221^2~6^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4960f9a5a5ac7784e03c9b5fe5456e80557e4b32;p=thirdparty%2Flinux.git arm64: mm: Remove unused declaration early_io_map() Commit bf4b558eba92 ("arm64: add early_ioremap support") removed the implementation but leave declaration. Signed-off-by: Yue Haibing Reviewed-by: Anshuman Khandual Acked-by: Catalin Marinas Link: https://lore.kernel.org/r/20240805140038.1366033-1-yuehaibing@huawei.com Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index 65977c7783c58..fc414cfd337e2 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -63,7 +63,6 @@ static inline bool arm64_kernel_unmapped_at_el0(void) extern void arm64_memblock_init(void); extern void paging_init(void); extern void bootmem_init(void); -extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); extern void create_mapping_noalloc(phys_addr_t phys, unsigned long virt, phys_addr_t size, pgprot_t prot); extern void create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys,