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/arm | |
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/arm')
-rw-r--r-- | arch/arm/include/asm/pci.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h index 585dc33a7a24..a5635444ca41 100644 --- a/arch/arm/include/asm/pci.h +++ b/arch/arm/include/asm/pci.h @@ -31,16 +31,6 @@ static inline int pci_proc_domain(struct pci_bus *bus) */ #define PCI_DMA_BUS_IS_PHYS (1) -#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 - #define HAVE_PCI_MMAP extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, enum pci_mmap_state mmap_state, int write_combine); |