From e67f13212a2b48a19b7c8433df40439177963a57 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Tue, 10 Jul 2012 14:57:56 -0700 Subject: [PATCH] [SCSI] qla2xxx: remove unnecessary reads of PCI_CAP_ID_EXP The PCIE capability offset is saved during PCI bus walking. It will remove an unnecessary search in the PCI configuration space if this value is referenced instead of reacquiring it. Also, pci_is_pcie is a better way of determining if the device is PCIE or not (as it uses the same saved PCIE capability offset). Signed-off-by: Jon Mason Acked-by: Chad Dupuis Signed-off-by: James Bottomley --- Reading git-format-patch failed