Skip to content

Commit

Permalink
sfc: remove spurious unreachable return statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Edward Cree authored and David S. Miller committed Sep 11, 2020
1 parent c094102 commit 3d6aef6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/sfc/ef100_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3d6aef6

Please sign in to comment.