myri: remove dead code
authorDan Carpenter <error27@gmail.com>
Sun, 14 Mar 2010 22:24:08 +0000 (22:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 23:00:50 +0000 (16:00 -0700)
We can never reach the return statement.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c

index 676c513e12fc486eae515e6d539a7d95db4c8852..e84dd3ee9c5aa72fa227b4afca14c4a59dd76c40 100644 (file)
@@ -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);