diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-14 18:24:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-15 19:00:50 -0400 |
commit | b8d689743106bab5c49dda87080e76aa78db8a56 (patch) | |
tree | 7f8d333e234a8021fbb094739d46d436d29a3530 /drivers/net | |
parent | 873a69a358a6b393fd8d9d92e193ec8895cac4d7 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 676c513e12fc..e84dd3ee9c5a 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -3687,7 +3687,6 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp) | |||
3687 | if (status != 0) { | 3687 | if (status != 0) { |
3688 | dev_err(&mgp->pdev->dev, "failed reset\n"); | 3688 | dev_err(&mgp->pdev->dev, "failed reset\n"); |
3689 | goto abort_with_fw; | 3689 | goto abort_with_fw; |
3690 | return; | ||
3691 | } | 3690 | } |
3692 | 3691 | ||
3693 | mgp->max_intr_slots = cmd.data0 / sizeof(struct mcp_slot); | 3692 | mgp->max_intr_slots = cmd.data0 / sizeof(struct mcp_slot); |