diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-06-04 16:38:17 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-06-08 07:56:43 -0500 |
commit | 01d72a95188880b22190e937ed8718ed4b45bdce (patch) | |
tree | 0cfcd115d2beb8c22a9cae362881c1afbaf444ed /arch/sparc/include/asm/pci_32.h | |
parent | d59d36a7fce6707acae644621320a75ab93f1856 (diff) |
PCI: Remove unused pci_dma_burst_advice()
pci_dma_burst_advice() was added by e24c2d963a60 ("[PATCH] PCI: DMA
bursting advice") but apparently never used. Remove it.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Michal Simek <monstr@monstr.eu> # microblaze
CC: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/pci_32.h')
-rw-r--r-- | arch/sparc/include/asm/pci_32.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc/include/asm/pci_32.h b/arch/sparc/include/asm/pci_32.h index 53e9b4987db0..b7c092df3134 100644 --- a/arch/sparc/include/asm/pci_32.h +++ b/arch/sparc/include/asm/pci_32.h @@ -22,16 +22,6 @@ struct pci_dev; -#ifdef CONFIG_PCI -static inline void pci_dma_burst_advice(struct pci_dev *pdev, - enum pci_dma_burst_strategy *strat, - unsigned long *strategy_parameter) -{ - *strat = PCI_DMA_BURST_INFINITY; - *strategy_parameter = ~0UL; -} -#endif - #endif /* __KERNEL__ */ #ifndef CONFIG_LEON_PCI |