diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2014-09-17 12:41:13 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-22 16:48:32 -0400 |
commit | 5d8f4c9fdd67404c9f94683836e49ec8bded2287 (patch) | |
tree | b9d415aac6a326e481ff62270a3fe2fb6b7137c5 /include/linux/pci.h | |
parent | bee3f304435a9c8c70b135083e23516872a17c98 (diff) |
PCI: Remove unused pci_get_dma_source()
pci_get_dma_source() is unused, so remove it. We now have
dma_alias_devfn() to describe this.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index bf5a47c0cb42..d68d8e33c196 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1557,16 +1557,11 @@ enum pci_fixup_pass { | |||
1557 | 1557 | ||
1558 | #ifdef CONFIG_PCI_QUIRKS | 1558 | #ifdef CONFIG_PCI_QUIRKS |
1559 | void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev); | 1559 | void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev); |
1560 | struct pci_dev *pci_get_dma_source(struct pci_dev *dev); | ||
1561 | int pci_dev_specific_acs_enabled(struct pci_dev *dev, u16 acs_flags); | 1560 | int pci_dev_specific_acs_enabled(struct pci_dev *dev, u16 acs_flags); |
1562 | void pci_dev_specific_enable_acs(struct pci_dev *dev); | 1561 | void pci_dev_specific_enable_acs(struct pci_dev *dev); |
1563 | #else | 1562 | #else |
1564 | static inline void pci_fixup_device(enum pci_fixup_pass pass, | 1563 | static inline void pci_fixup_device(enum pci_fixup_pass pass, |
1565 | struct pci_dev *dev) { } | 1564 | struct pci_dev *dev) { } |
1566 | static inline struct pci_dev *pci_get_dma_source(struct pci_dev *dev) | ||
1567 | { | ||
1568 | return pci_dev_get(dev); | ||
1569 | } | ||
1570 | static inline int pci_dev_specific_acs_enabled(struct pci_dev *dev, | 1565 | static inline int pci_dev_specific_acs_enabled(struct pci_dev *dev, |
1571 | u16 acs_flags) | 1566 | u16 acs_flags) |
1572 | { | 1567 | { |