Skip to contentSkip to conversation

ia64: remove the unused pci_iommu_shutdown function

PATCH New Christoph Hellwig 1 participant 1 message Sep 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 5/9 ia64: remove the unused pci_iommu_shutdown function

---
 arch/ia64/include/asm/iommu.h | 1 -
 arch/ia64/kernel/pci-dma.c    | 5 -----
 2 files changed, 6 deletions(-)
arch/ia64/include/asm/iommu.h +0 -1
index 156b9d8e1932..5397e5aa3704 100644
@@ -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;
arch/ia64/kernel/pci-dma.c +0 -5
index 924966e5aa25..936af0ec7f8f 100644
@@ -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)
 {
Signature · 1 line
2.18.0