summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef10.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-06-30 14:15:10 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-30 22:09:09 +0200
commitf07cb4128abb2bbb69bdc7d37a3d69147cb13dcd (patch)
treee61ad2e3957aa28a6312bc8d1af61ecf059be878 /drivers/net/ethernet/sfc/ef10.c
parentsfc: commonise efx->[rt]xq_entries initialisation (diff)
downloadlinux-f07cb4128abb2bbb69bdc7d37a3d69147cb13dcd.tar.xz
linux-f07cb4128abb2bbb69bdc7d37a3d69147cb13dcd.zip
sfc: commonise initialisation of efx->vport_id
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
-rw-r--r--drivers/net/ethernet/sfc/ef10.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c
index a3bf9d8023d7..5faf2f0e4d62 100644
--- a/drivers/net/ethernet/sfc/ef10.c
+++ b/drivers/net/ethernet/sfc/ef10.c
@@ -554,8 +554,6 @@ static int efx_ef10_probe(struct efx_nic *efx)
efx->rss_context.context_id = EFX_MCDI_RSS_CONTEXT_INVALID;
- efx->vport_id = EVB_PORT_ID_ASSIGNED;
-
/* In case we're recovering from a crash (kexec), we want to
* cancel any outstanding request by the previous user of this
* function. We send a special message using the least