From: Bjorn Helgaas Date: Fri, 5 Feb 2016 20:57:12 +0000 (-0600) Subject: PCI/PME: Remove redundant port lookup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e48fe4148698ffd3935800f4967362e80a7ae92;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI/PME: Remove redundant port lookup We've already looked up srv->port a few lines earlier, and there's no need to do it again. Remove the redundant lookup. Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki suspend_level = PME_SUSPEND_WAKEUP; } if (!wakeup || ret) { - struct pci_dev *port = srv->port; - pcie_pme_interrupt_enable(port, false); pcie_clear_root_pme_status(port); data->suspend_level = PME_SUSPEND_NOIRQ;