diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-02-08 23:26:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-09 02:58:03 +0300 |
commit | 4429c5fc3dbd5c6f385860526e5fb5a862d4ea8c (patch) | |
tree | d6b95a4b49b8b6ee3534dd5b049ac9b2803b8e6c /drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | |
parent | 8043c845b63a2dd88daf2d2d268a33e1872800f0 (diff) | |
download | linux-4429c5fc3dbd5c6f385860526e5fb5a862d4ea8c.tar.xz |
cxgb4: remove unused vpd_cap_addr
It is likely that this is a leftover from T3 driver heritage. cxgb4 uses
the PCI core VPD access code that handles detection of VPD capabilities.
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 9f1965c80fb1..6264bc66a4fc 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -3201,8 +3201,6 @@ static void cxgb4_mgmt_fill_vf_station_mac_addr(struct adapter *adap) int err; u8 *na; - adap->params.pci.vpd_cap_addr = pci_find_capability(adap->pdev, - PCI_CAP_ID_VPD); err = t4_get_raw_vpd_params(adap, &adap->params.vpd); if (err) return; |