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

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
...@@ -3687,7 +3687,6 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment