aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-04 17:38:17 -0400
committerBjorn Helgaas <bhelgaas@google.com>2015-06-08 08:56:43 -0400
commit01d72a95188880b22190e937ed8718ed4b45bdce (patch)
tree0cfcd115d2beb8c22a9cae362881c1afbaf444ed /arch/ia64
parentd59d36a7fce6707acae644621320a75ab93f1856 (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/ia64')
-rw-r--r--arch/ia64/include/asm/pci.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h
index 32ea19ac5713..b897fae1f0ca 100644
--- a/arch/ia64/include/asm/pci.h
+++ b/arch/ia64/include/asm/pci.h
@@ -52,25 +52,6 @@ extern unsigned long ia64_max_iommu_merge_mask;
52 52
53#include <asm-generic/pci-dma-compat.h> 53#include <asm-generic/pci-dma-compat.h>
54 54
55#ifdef CONFIG_PCI
56static inline void pci_dma_burst_advice(struct pci_dev *pdev,
57 enum pci_dma_burst_strategy *strat,
58 unsigned long *strategy_parameter)
59{
60 unsigned long cacheline_size;
61 u8 byte;
62
63 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &byte);
64 if (byte == 0)
65 cacheline_size = 1024;
66 else
67 cacheline_size = (int) byte * 4;
68
69 *strat = PCI_DMA_BURST_MULTIPLE;
70 *strategy_parameter = cacheline_size;
71}
72#endif
73
74#define HAVE_PCI_MMAP 55#define HAVE_PCI_MMAP
75extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma, 56extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
76 enum pci_mmap_state mmap_state, int write_combine); 57 enum pci_mmap_state mmap_state, int write_combine);