linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ia64/PCI: Remove unused fallback_dev
@ 2013-05-29 21:55 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2013-05-29 21:55 UTC (permalink / raw)
  To: Fenghua Yu, Tony Luck; +Cc: linux-pci, linux-ia64

There are no users of fallback_dev, so remove it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 arch/ia64/kernel/pci-dma.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index 1ddcfe5..992c109 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-29 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 21:55 [PATCH] ia64/PCI: Remove unused fallback_dev Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).