From: Dan Carpenter Date: Sun, 14 Mar 2010 22:24:08 +0000 (+0000) Subject: myri: remove dead code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8d689743106bab5c49dda87080e76aa78db8a56;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git myri: remove dead code We can never reach the return statement. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- 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);