Skip to content

Commit 1d86859

Browse files
Michael Chandavem330
authored andcommitted
bnxt_en: Remove the setting of dev_port.
The dev_port is meant to distinguish the network ports belonging to the same PCI function. Our devices only have one network port associated with each PCI function and so we should not set it for correctness. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 43a5107 commit 1d86859

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+0
-1
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6998,7 +6998,6 @@ static int __bnxt_hwrm_func_qcaps(struct bnxt *bp)
69986998

69996999
pf->fw_fid = le16_to_cpu(resp->fid);
70007000
pf->port_id = le16_to_cpu(resp->port_id);
7001-
bp->dev->dev_port = pf->port_id;
70027001
memcpy(pf->mac_addr, resp->mac_address, ETH_ALEN);
70037002
pf->first_vf_id = le16_to_cpu(resp->first_vf_id);
70047003
pf->max_vfs = le16_to_cpu(resp->max_vfs);

0 commit comments

Comments
 (0)