PCI/AER: Remove redundant pci_is_pcie() checks
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Tue, 26 May 2020 23:18:25 +0000 (16:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Jun 2020 17:03:22 +0000 (12:03 -0500)
commit123f985aea0d603466518f041670d195eb2a4111
tree9bb2c3622ae54ffcaf4f28be8c2c1fa17494be7e
parent708b2000362476c9c7a3571c0cc774dffb91836a
PCI/AER: Remove redundant pci_is_pcie() checks

AER is a PCIe Extended Capability, so dev->aer_cap will only be set for
PCIe devices.  Remove redundant pci_is_pcie() checks.

Link: https://lore.kernel.org/r/361c622eabe5b845b8092e0bec04a3a2c262cb38.1590534843.git.sathyanarayanan.kuppuswamy@linux.intel.com
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer.c