OSDN Git Service

bnxt_en: Remove the setting of dev_port.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 27 Jan 2020 09:56:15 +0000 (04:56 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:33:28 +0000 (11:33 +0100)
commit1d86859fdf31a0d50cc82b5d0d6bfb5fe98f6c00
tree40d127c27084fbcd0a5187d01d86581ac695d94e
parent43a5107dc1acbf88a8a194beb9ff4e8563a2c7a3
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 <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c