aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-17 19:10:28 +0200
committerTony Luck <tony.luck@intel.com>2018-09-17 10:15:39 -0700
commit361a2ab91b0f925779c98f32a01e5ed27dc8d261 (patch)
tree9d923a65f2c50c25d853b7f3434672affc129de3 /arch/ia64
parentia64: remove the unused pci_iommu_shutdown function (diff)
downloadlinux-dev-361a2ab91b0f925779c98f32a01e5ed27dc8d261.tar.xz
linux-dev-361a2ab91b0f925779c98f32a01e5ed27dc8d261.zip
ia64: remove the unused iommu_dma_init function
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/iommu.h1
-rw-r--r--arch/ia64/kernel/pci-dma.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h
index 5397e5aa3704..7429a72f3f92 100644
--- a/arch/ia64/include/asm/iommu.h
+++ b/arch/ia64/include/asm/iommu.h
@@ -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
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index 936af0ec7f8f..afb43677f9ca 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -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;