From f9b8cd7c2710813746f86eec6bbf12c869504285 Mon Sep 17 00:00:00 2001 From: Yijing Wang Date: Tue, 19 May 2015 11:41:34 +0800 Subject: [PATCH] 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-format-patch failed