summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-15 01:24:08 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-16 02:00:50 +0300
commitb8d689743106bab5c49dda87080e76aa78db8a56 (patch)
tree7f8d333e234a8021fbb094739d46d436d29a3530
parent873a69a358a6b393fd8d9d92e193ec8895cac4d7 (diff)
downloadlinux-b8d689743106bab5c49dda87080e76aa78db8a56.tar.xz
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>
-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 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)
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);