summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2011-06-27 07:46:31 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-06-28 04:40:45 (GMT)
commite44daaded19baf8b7cf9ab3dedad8a01b8c49251 (patch)
treed7efeb7a2737e20a666ef03f7905cc8fe47d00a6 /lib
parentd3aa0cb44f2cfcdfa6df1bd40b9c182b35528849 (diff)
downloadlinux-e44daaded19baf8b7cf9ab3dedad8a01b8c49251.tar.xz
r8169: remove unnecessary read of PCI_CAP_ID_EXP
The PCIE capability offset is saved during PCI bus walking. Use the value from pci_dev instead of checking in the driver and saving it off the the driver specific structure. Also, 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions