From: Yijing Wang Date: Tue, 19 May 2015 03:41:34 +0000 (+0800) Subject: PCI/ASPM: Remove redundant PCIe port type checking X-Git-Tag: omap-for-v4.3/legacy-v2-signed~188^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b8cd7c2710813746f86eec6bbf12c869504285;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed