Skip to content

Commit

Permalink
myri: remove dead code
Browse files Browse the repository at this point in the history
We can never reach the return statement.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Mar 15, 2010
1 parent 873a69a commit b8d6897
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -3687,7 +3687,6 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp)
if (status != 0) {
dev_err(&mgp->pdev->dev, "failed reset\n");
goto abort_with_fw;
return;
}

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

0 comments on commit b8d6897

Please sign in to comment.