diff options
author | Edward Cree <ecree@solarflare.com> | 2020-09-11 19:44:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-11 14:55:14 -0700 |
commit | c0941025e2089bc65021ede7d46311ba1c88b150 (patch) | |
tree | 7f44a13253d5c82e1451fa38efaa492a7932c72b /drivers/net/ethernet/sfc | |
parent | 12913f7459348323e2c22dbd48be0c9e6213d892 (diff) |
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 <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r-- | drivers/net/ethernet/sfc/ef100_nic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sfc/ef100_nic.c b/drivers/net/ethernet/sfc/ef100_nic.c index fb7752d62ce0..3148fe770356 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); |