diff options
author | Yijing Wang <wangyijing@huawei.com> | 2015-05-19 11:41:34 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-05-20 12:28:11 -0500 |
commit | f9b8cd7c2710813746f86eec6bbf12c869504285 (patch) | |
tree | c5cf075cc536f4ac10a10770e67810fbdd4f115b /.mailmap | |
parent | e127a04f222fc4ad958a9bca35100883b8b1373b (diff) | |
download | op-kernel-dev-f9b8cd7c2710813746f86eec6bbf12c869504285.zip op-kernel-dev-f9b8cd7c2710813746f86eec6bbf12c869504285.tar.gz |
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 '.mailmap')
0 files changed, 0 insertions, 0 deletions