sfc: remove duplicate call to efx_init_channels from EF100 probe
authorEdward Cree <ecree@solarflare.com>
Fri, 11 Sep 2020 18:44:44 +0000 (19:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2020 21:55:14 +0000 (14:55 -0700)
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>
drivers/net/ethernet/sfc/ef100_nic.c

index fb7752d..3148fe7 100644 (file)
@@ -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);