From: Edward Cree Date: Fri, 11 Sep 2020 18:44:44 +0000 (+0100) Subject: sfc: remove duplicate call to efx_init_channels from EF100 probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c0941025e2089bc65021ede7d46311ba1c88b150;p=linux.git sfc: remove duplicate call to efx_init_channels from EF100 probe efx_init_struct already calls this, we don't need to do it again. Signed-off-by: Edward Cree Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/sfc/ef100_nic.c b/drivers/net/ethernet/sfc/ef100_nic.c index fb7752d62ce0f..3148fe7703564 100644 --- a/drivers/net/ethernet/sfc/ef100_nic.c +++ b/drivers/net/ethernet/sfc/ef100_nic.c @@ -1200,10 +1200,6 @@ static int ef100_probe_main(struct efx_nic *efx) if (rc) goto fail; - rc = efx_init_channels(efx); - if (rc) - goto fail; - down_write(&efx->filter_sem); rc = ef100_filter_table_probe(efx); up_write(&efx->filter_sem);