cxgb3: remove unnecessary read of PCI_CAP_ID_EXP
commit6532e9cb33221a31c8514441a972486af713ad6e
authorJon Mason <jdmason@kudzu.us>
Mon, 27 Jun 2011 07:42:49 +0000 (27 07:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2011 04:40:44 +0000 (27 21:40 -0700)
tree20ed7a03e85691ff1516076af6ad76518d01d439
parenta875a4c7404c8e259236b650136b8a603923daf9
cxgb3: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/common.h
drivers/net/cxgb3/t3_hw.c