The statement above it already returns, so there is no way to get here.

Signed-off-by: Edward Cree <ec...@solarflare.com>
---
 drivers/net/ethernet/sfc/ef100_tx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/sfc/ef100_tx.c 
b/drivers/net/ethernet/sfc/ef100_tx.c
index 078c7ec2a70e..ef9c2e879499 100644
--- 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)

Reply via email to