aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-14 22:24:08 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-15 16:00:50 -0700
commitb8d689743106bab5c49dda87080e76aa78db8a56 (patch)
tree7f8d333e234a8021fbb094739d46d436d29a3530 /drivers/net/myri10ge
parent873a69a358a6b393fd8d9d92e193ec8895cac4d7 (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/myri10ge')
-rw-r--r--drivers/net/myri10ge/myri10ge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 676c513e12f..e84dd3ee9c5 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)
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);