From: Jon Mason Date: Mon, 27 Jun 2011 07:46:31 +0000 (+0000) Subject: r8169: remove unnecessary read of PCI_CAP_ID_EXP X-Git-Tag: v3.1-rc1~316^2~312 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44daaded19baf8b7cf9ab3dedad8a01b8c49251;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed