Skip to content

Commit 00c30d4

Browse files
Michael ChanSomasundaram Krishnasamy
authored andcommitted
bnxt_en: Remove the setting of dev_port.
commit 1d86859 upstream. 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]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit 0aa824aa3dbf60d755d49f0eba355aa6adcbddba)
1 parent e8583af commit 00c30d4

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
@@ -7116,7 +7116,6 @@ static int __bnxt_hwrm_func_qcaps(struct bnxt *bp)
71167116

71177117
pf->fw_fid = le16_to_cpu(resp->fid);
71187118
pf->port_id = le16_to_cpu(resp->port_id);
7119-
bp->dev->dev_port = pf->port_id;
71207119
memcpy(pf->mac_addr, resp->mac_address, ETH_ALEN);
71217120
pf->first_vf_id = le16_to_cpu(resp->first_vf_id);
71227121
pf->max_vfs = le16_to_cpu(resp->max_vfs);

0 commit comments

Comments
 (0)