From b666287e799bb25a6f53dcc5d9ae8cda97c7b5da Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 17 Sep 2018 19:10:27 +0200 Subject: [PATCH] ia64: remove the unused pci_iommu_shutdown function Signed-off-by: Christoph Hellwig Signed-off-by: Tony Luck --- arch/ia64/include/asm/iommu.h | 1 - arch/ia64/kernel/pci-dma.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h index 156b9d8e1932..5397e5aa3704 100644 --- a/arch/ia64/include/asm/iommu.h +++ b/arch/ia64/include/asm/iommu.h @@ -5,7 +5,6 @@ /* 10 seconds */ #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10) -extern void pci_iommu_shutdown(void); extern void no_iommu_init(void); #ifdef CONFIG_INTEL_IOMMU extern int force_iommu, no_iommu; diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index 924966e5aa25..936af0ec7f8f 100644 --- a/arch/ia64/kernel/pci-dma.c +++ b/arch/ia64/kernel/pci-dma.c @@ -37,11 +37,6 @@ static int __init pci_iommu_init(void) /* Must execute after PCI subsystem */ fs_initcall(pci_iommu_init); -void pci_iommu_shutdown(void) -{ - return; -} - void __init iommu_dma_init(void) {