]> 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)
commit37f70e64dc6e8b5c1626aa82b6a6f4f6a682569a
tree93a892499b82a6ef1f255e58b69577b3fda73c4b
parentcfd22e067e825be9e98002b89dd3d6d60df58cba
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