summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2015-05-19 06:41:34 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-05-20 20:28:11 +0300
commitf9b8cd7c2710813746f86eec6bbf12c869504285 (patch)
treec5cf075cc536f4ac10a10770e67810fbdd4f115b /include/linux/pci.h
parente127a04f222fc4ad958a9bca35100883b8b1373b (diff)
downloadlinux-f9b8cd7c2710813746f86eec6bbf12c869504285.tar.xz
PCI/ASPM: Remove redundant PCIe port type checking
We decide in alloc_pcie_link_state() whether to allocate a pcie_link_state for a device. After that, it's sufficient to check pdev->link_state. We don't need to check the PCIe port type again. Remove the redundant PCIe port type checking. [bhelgaas: changelog] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions