Skip to contentSkip to conversation

ia64/PCI: Remove unused fallback_dev

PATCH New Bjorn Helgaas 1 participant 1 message May 29, 2013 PCI

lore
Share & tools
lore

Bjorn Helgaas

author maintainer
#0 lore raw

PATCH 1/1 ia64/PCI: Remove unused fallback_dev

There are no users of fallback_dev, so remove it.

---
 arch/ia64/kernel/pci-dma.c |    9 ---------
 1 file changed, 9 deletions(-)
arch/ia64/kernel/pci-dma.c +0 -9
index 1ddcfe5..992c109 100644
@@ -33,15 +33,6 @@ int force_iommu __read_mostly;
 
 int iommu_pass_through;
 
-/* Dummy device used for NULL arguments (normally ISA). Better would
-   be probably a smaller DMA mask, but this is bug-to-bug compatible
-   to i386. */
-struct device fallback_dev = {
-	.init_name = "fallback device",
-	.coherent_dma_mask = DMA_BIT_MASK(32),
-	.dma_mask = &fallback_dev.coherent_dma_mask,
-};
-
 extern struct dma_map_ops intel_dma_ops;
 
 static int __init pci_iommu_init(void)