diff options
author | Jon Mason <jdmason@kudzu.us> | 2011-06-27 21:50:14 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-29 23:10:59 +0400 |
commit | 6a4ecc29c90c322e28941e6dec406b08b5e1f0ea (patch) | |
tree | 121e11bbaf89ecc06c44cc34f1f681a828e97ff1 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | f05b691150af4cfccbfba6cc708b9a58b9216903 (diff) | |
download | linux-6a4ecc29c90c322e28941e6dec406b08b5e1f0ea.tar.xz |
rtlwifi: 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.
Also, remove unnecessary and unused #defines for PCI.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
0 files changed, 0 insertions, 0 deletions