[SCSI] qla4xxx: remove unnecessary read of PCI_CAP_ID_EXP
authorJon Mason <jdmason@kudzu.us>
Tue, 10 Jul 2012 21:57:55 +0000 (14:57 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:59:02 +0000 (08:59 +0100)
commit983bfb5b40157c9fbb7c5290508f18845b7e7234
treebb8a687f1aecb75f8eb9d979dfab5932dba66e42
parent94c122ab01f84332c371dc4ae0f5b70e879173d6
[SCSI] qla4xxx: remove unnecessary read 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.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c