From: Jon Mason Date: Mon, 27 Jun 2011 17:50:14 +0000 (-0500) Subject: rtlwifi: remove unnecessary read of PCI_CAP_ID_EXP X-Git-Tag: v3.1-rc1~316^2~232^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a4ecc29c90c322e28941e6dec406b08b5e1f0ea;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed