Skip to content

Commit

Permalink
sfc: remove duplicate call to efx_init_channels from EF100 probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Edward Cree authored and David S. Miller committed Sep 11, 2020
1 parent 12913f7 commit c094102
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/ethernet/sfc/ef100_nic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c094102

Please sign in to comment.