]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ia64: remove the unused iommu_dma_init function
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Sep 2018 17:10:28 +0000 (19:10 +0200)
committerTony Luck <tony.luck@intel.com>
Mon, 17 Sep 2018 17:15:39 +0000 (10:15 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/iommu.h
arch/ia64/kernel/pci-dma.c

index 5397e5aa37046f06d6c32eca72d86a7193ff1848..7429a72f3f921996643c48d19dc206fe3034b7dd 100644 (file)
@@ -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
index 936af0ec7f8f5ea815dea26e9c9cd53126bb918c..afb43677f9ca7bca8a40f4185643f41244aff295 100644 (file)
@@ -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;