projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12913f7
)
sfc: remove duplicate call to efx_init_channels from EF100 probe
author
Edward Cree
<ecree@solarflare.com>
Fri, 11 Sep 2020 18:44:44 +0000
(19:44 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/ef100_nic.c
b/drivers/net/ethernet/sfc/ef100_nic.c
index
fb7752d
..
3148fe7
100644
(file)
--- 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);