PCI: Use cached copy of PCI_EXP_SLTCAP_HPC bit
authorLukas Wunner <lukas@wunner.de>
Wed, 4 May 2016 21:58:11 +0000 (16:58 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 4 May 2016 21:58:11 +0000 (16:58 -0500)
commitf8415222837b651902661f12f5760169690f6696
tree342dc4bcd979af58f5bb5d9f76a63c1771f6084f
parent4d88d5a7bf92e31215543b955b8883dcf6f66c1f
PCI: Use cached copy of PCI_EXP_SLTCAP_HPC bit

We cache the PCI_EXP_SLTCAP_HPC bit in pci_dev->is_hotplug_bridge on device
probe, so there's no need to read it again on allocation of port service
devices.

No functional change intended.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv_core.c