PCI/portdrv: Disable port driver in compat mode
[muen/linux.git] / drivers / pci / pcie / portdrv_core.c
index 4268b2fc2c7acfe4eb038eb1fe9f31964a0c122b..9a41751db3326b6b43c88b758ec3361c89c3c82e 100644 (file)
@@ -211,9 +211,6 @@ static int get_port_device_capability(struct pci_dev *dev)
        int services = 0;
        int cap_mask = 0;
 
-       if (pcie_ports_disabled)
-               return 0;
-
        cap_mask = PCIE_PORT_SERVICE_PME | PCIE_PORT_SERVICE_HP
                        | PCIE_PORT_SERVICE_VC;
        if (pci_aer_available())