trivial: unreached code. drivers/net/mlx4/en_rx.c
PATCH 1/1 trivial: unreached code. drivers/net/mlx4/en_rx.c
Remove the return after the goto. We want the goto because it frees memory as well as returning err.
Found by smatch (http://repo.or.cz/w/smatch.git).
regards,
dan carpenter
Signed-off-by Dan Carpenter <[email protected]>
drivers/net/mlx4/en_rx.c +0 -1
@@ -950,7 +950,6 @@if (err) {mlx4_err (mdev,"Failed to allocate qp #%d\n" , qpn); goto out; -return err; } qp->event = mlx4_en_sqp_event;