aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2011-06-27 07:42:49 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-27 21:40:44 -0700
commit6532e9cb33221a31c8514441a972486af713ad6e (patch)
tree20ed7a03e85691ff1516076af6ad76518d01d439 /drivers/net/cxgb3/common.h
parentmlx4: remove unnecessary read of PCI_CAP_ID_EXP (diff)
downloadlinux-dev-6532e9cb33221a31c8514441a972486af713ad6e.tar.xz
linux-dev-6532e9cb33221a31c8514441a972486af713ad6e.zip
cxgb3: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 056ee8c831f1..df01b6343241 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -367,7 +367,6 @@ struct vpd_params {
struct pci_params {
unsigned int vpd_cap_addr;
- unsigned int pcie_cap_addr;
unsigned short speed;
unsigned char width;
unsigned char variant;