summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-14 23:24:08 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-16 00:00:50 +0100
commitb8d689743106bab5c49dda87080e76aa78db8a56 (patch)
tree7f8d333e234a8021fbb094739d46d436d29a3530
parentgigaset: prune use of tty_buffer_request_room (diff)
downloadlinux-b8d689743106bab5c49dda87080e76aa78db8a56.tar.xz
linux-b8d689743106bab5c49dda87080e76aa78db8a56.zip
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);