diff options
author | Edward Cree <ecree@solarflare.com> | 2020-09-11 21:44:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-12 00:55:14 +0300 |
commit | c0941025e2089bc65021ede7d46311ba1c88b150 (patch) | |
tree | 7f44a13253d5c82e1451fa38efaa492a7932c72b /drivers/net/ethernet/sfc | |
parent | 12913f7459348323e2c22dbd48be0c9e6213d892 (diff) | |
download | linux-c0941025e2089bc65021ede7d46311ba1c88b150.tar.xz |
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); |