projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873a69a
)
myri: remove dead code
author
Dan Carpenter
<error27@gmail.com>
Sun, 14 Mar 2010 22:24:08 +0000
(22:24 +0000)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/myri10ge/myri10ge.c
b/drivers/net/myri10ge/myri10ge.c
index 676c513e12fc486eae515e6d539a7d95db4c8852..e84dd3ee9c5aa72fa227b4afca14c4a59dd76c40 100644
(file)
--- 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);