]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 12 Nov 2012 10:51:19 +0000 (02:51 -0800)
commitc1774aa6ad9f5191d115c7c88ea2289c78dfd36b
treea41e39a6ddcb80654fc3019227ad26fdc28e5352
parentd5dd048578e5512c056749e772cbb012da47473b
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