Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8d68974 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

myri: remove dead code



We can never reach the return statement.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 873a69a3
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -3687,7 +3687,6 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp)
	if (status != 0) {
	if (status != 0) {
		dev_err(&mgp->pdev->dev, "failed reset\n");
		dev_err(&mgp->pdev->dev, "failed reset\n");
		goto abort_with_fw;
		goto abort_with_fw;
		return;
	}
	}


	mgp->max_intr_slots = cmd.data0 / sizeof(struct mcp_slot);
	mgp->max_intr_slots = cmd.data0 / sizeof(struct mcp_slot);