]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/pci/access.c
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
[linux.git] / drivers / pci / access.c
index 544922f097c044a7e434d679ddddf588f72e8467..2fccb5762c762cf34a503a96e6971760d8964bfb 100644 (file)
@@ -336,15 +336,6 @@ static inline int pcie_cap_version(const struct pci_dev *dev)
        return pcie_caps_reg(dev) & PCI_EXP_FLAGS_VERS;
 }
 
-static bool pcie_downstream_port(const struct pci_dev *dev)
-{
-       int type = pci_pcie_type(dev);
-
-       return type == PCI_EXP_TYPE_ROOT_PORT ||
-              type == PCI_EXP_TYPE_DOWNSTREAM ||
-              type == PCI_EXP_TYPE_PCIE_BRIDGE;
-}
-
 bool pcie_cap_has_lnkctl(const struct pci_dev *dev)
 {
        int type = pci_pcie_type(dev);