summaryrefslogtreecommitdiff
path: root/include/linux/pci-dma-compat.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 16:08:23 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-10-10 15:46:47 -0500
commita6f44cf9f5cc60471cf06f3d5391fc6041eb37a5 (patch)
tree1b7f35899fde28aa1122e5be820ad887875834ab /include/linux/pci-dma-compat.h
parent18b01b16e8bae9cd227909f6e6d2783d74855f65 (diff)
PCI: Remove pci_set_dma_seg_boundary()
The two callers can just use dma_set_seg_boundary() directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-dma-compat.h')
-rw-r--r--include/linux/pci-dma-compat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/pci-dma-compat.h b/include/linux/pci-dma-compat.h
index c3f1b44ade29..558a109ab497 100644
--- a/include/linux/pci-dma-compat.h
+++ b/include/linux/pci-dma-compat.h
@@ -125,12 +125,6 @@ static inline int pci_set_dma_max_seg_size(struct pci_dev *dev,
{
return dma_set_max_seg_size(&dev->dev, size);
}
-
-static inline int pci_set_dma_seg_boundary(struct pci_dev *dev,
- unsigned long mask)
-{
- return dma_set_seg_boundary(&dev->dev, mask);
-}
#else
static inline int pci_set_dma_mask(struct pci_dev *dev, u64 mask)
{ return -EIO; }
@@ -139,9 +133,6 @@ static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask)
static inline int pci_set_dma_max_seg_size(struct pci_dev *dev,
unsigned int size)
{ return -EIO; }
-static inline int pci_set_dma_seg_boundary(struct pci_dev *dev,
- unsigned long mask)
-{ return -EIO; }
#endif
#endif