iwlegacy: remove unnecessary read of PCI_CAP_ID_EXP
authorJon Mason <jdmason@kudzu.us>
Mon, 27 Jun 2011 17:48:54 +0000 (12:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jun 2011 18:53:25 +0000 (14:53 -0400)
commitf05b691150af4cfccbfba6cc708b9a58b9216903
tree93a892499b82a6ef1f255e58b69577b3fda73c4b
parentbfc8dfec45237e4c9e28f96fdb91167e7e8ddb96
iwlegacy: 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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-core.h