projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c094102
)
sfc: remove spurious unreachable return statement
author
Edward Cree
<ecree@solarflare.com>
Fri, 11 Sep 2020 18:44:56 +0000
(19:44 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 11 Sep 2020 21:55:14 +0000
(14:55 -0700)
The statement above it already returns, so there is no way to get here.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef100_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/ef100_tx.c
b/drivers/net/ethernet/sfc/ef100_tx.c
index
078c7ec
..
ef9c2e8
100644
(file)
--- a/
drivers/net/ethernet/sfc/ef100_tx.c
+++ b/
drivers/net/ethernet/sfc/ef100_tx.c
@@
-27,7
+27,6
@@
int ef100_tx_probe(struct efx_tx_queue *tx_queue)
(tx_queue->ptr_mask + 2) *
sizeof(efx_oword_t),
GFP_KERNEL);
- return 0;
}
void ef100_tx_init(struct efx_tx_queue *tx_queue)