mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
myri: remove dead code
We can never reach the return statement. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
873a69a358
commit
b8d6897431
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user