]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc12c285d38e60b6e8eb36ab1f9a1bcb2035377a
tree93a892499b82a6ef1f255e58b69577b3fda73c4b
parentb585ef93362a191bce0bc97926515a8aa0e72370
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