mirror of https://gitee.com/openkylin/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 <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
12913f7459
commit
c0941025e2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue