Skip to contentSkip to conversation

ia64: remove the unused iommu_dma_init function

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

lore
Share & tools
lore
#0 lore raw

PATCH 6/9 ia64: remove the unused iommu_dma_init function

---
 arch/ia64/include/asm/iommu.h | 1 -
 arch/ia64/kernel/pci-dma.c    | 6 ------
 2 files changed, 7 deletions(-)
arch/ia64/include/asm/iommu.h +0 -1
index 5397e5aa3704..7429a72f3f92 100644
@@ -15,7 +15,6 @@ extern int iommu_detected;
 #define no_iommu		(1)
 #define iommu_detected		(0)
 #endif
-extern void iommu_dma_init(void);
 extern void machvec_init(const char *name);
 
 #endif
arch/ia64/kernel/pci-dma.c +0 -6
index 936af0ec7f8f..afb43677f9ca 100644
@@ -37,12 +37,6 @@ static int __init pci_iommu_init(void)
 /* Must execute after PCI subsystem */
 fs_initcall(pci_iommu_init);
 
-void __init
-iommu_dma_init(void)
-{
-	return;
-}
-
 void __init pci_iommu_alloc(void)
 {
 	dma_ops = &intel_dma_ops;
Signature · 1 line
2.18.0