diff options
| author | Stephen Hemminger <stephen@networkplumber.org> | 2014-01-10 16:01:11 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-10 18:59:07 -0500 |
| commit | 7c2dd2d7cfabdb37875c5e481a0c3cc5962bb0b6 (patch) | |
| tree | 95b9d8c7f4aaf395893980708441aa80daf81135 /include/linux | |
| parent | ecc8635608342a05ded722f0e30e6ccd682f84a6 (diff) | |
PCI: Remove unused ID-Based Ordering support
My philosophy is unused code is dead code. And dead code is subject to bit
rot and is a likely source of bugs. Use it or lose it.
This reverts b48d4425b602 ("PCI: add ID-based ordering enable/disable
support"), removing these interfaces:
pci_enable_ido()
pci_disable_ido()
[bhelgaas: split to separate patch, also remove prototypes from pci.h]
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index b8cbe52c7a48..f2284f1332db 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -997,11 +997,6 @@ static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, | |||
| 997 | return __pci_enable_wake(dev, state, false, enable); | 997 | return __pci_enable_wake(dev, state, false, enable); |
| 998 | } | 998 | } |
| 999 | 999 | ||
| 1000 | #define PCI_EXP_IDO_REQUEST (1<<0) | ||
| 1001 | #define PCI_EXP_IDO_COMPLETION (1<<1) | ||
| 1002 | void pci_enable_ido(struct pci_dev *dev, unsigned long type); | ||
| 1003 | void pci_disable_ido(struct pci_dev *dev, unsigned long type); | ||
| 1004 | |||
| 1005 | /* For use by arch with custom probe code */ | 1000 | /* For use by arch with custom probe code */ |
| 1006 | void set_pcie_port_type(struct pci_dev *pdev); | 1001 | void set_pcie_port_type(struct pci_dev *pdev); |
| 1007 | void set_pcie_hotplug_bridge(struct pci_dev *pdev); | 1002 | void set_pcie_hotplug_bridge(struct pci_dev *pdev); |
| @@ -1412,14 +1407,6 @@ static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, | |||
| 1412 | return 0; | 1407 | return 0; |
| 1413 | } | 1408 | } |
| 1414 | 1409 | ||
| 1415 | static inline void pci_enable_ido(struct pci_dev *dev, unsigned long type) | ||
| 1416 | { | ||
| 1417 | } | ||
| 1418 | |||
| 1419 | static inline void pci_disable_ido(struct pci_dev *dev, unsigned long type) | ||
| 1420 | { | ||
| 1421 | } | ||
| 1422 | |||
| 1423 | static inline int pci_request_regions(struct pci_dev *dev, const char *res_name) | 1410 | static inline int pci_request_regions(struct pci_dev *dev, const char *res_name) |
| 1424 | { | 1411 | { |
| 1425 | return -EIO; | 1412 | return -EIO; |
