diff options
author | Jon Mason <jdmason@kudzu.us> | 2012-07-10 14:57:56 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 08:59:02 +0100 |
commit | e67f13212a2b48a19b7c8433df40439177963a57 (patch) | |
tree | 50b05ddc15aca3666c1d8d4e6fcd840d2b9655a6 /drivers/scsi/fdomain.h | |
parent | 983bfb5b40157c9fbb7c5290508f18845b7e7234 (diff) | |
download | linux-stable-e67f13212a2b48a19b7c8433df40439177963a57.tar.gz linux-stable-e67f13212a2b48a19b7c8433df40439177963a57.tar.bz2 linux-stable-e67f13212a2b48a19b7c8433df40439177963a57.zip |
[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 <jdmason@kudzu.us>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fdomain.h')
0 files changed, 0 insertions, 0 deletions