projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e26d7
)
greth: fall through to common return statement on error
author
Simon Horman
<horms@verge.net.au>
Thu, 25 Feb 2010 13:50:19 +0000
(13:50 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Feb 2010 12:18:43 +0000
(
04:18
-0800)
There doesn't seem to be any reason to explicitly return
NETDEV_TX_OK as err is set to NETDEV_TX_OK in all cases that
reach this point.
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/greth.c
b/drivers/net/greth.c
index d75b4614160316540a77c8f7c6a4646cf8e7ca1a..2b9c1cbc9ec1b3e33d2275aa1682a78fe7becbf1 100644
(file)
--- a/
drivers/net/greth.c
+++ b/
drivers/net/greth.c
@@
-560,8
+560,6
@@
map_error:
if (net_ratelimit())
dev_warn(greth->dev, "Could not create TX DMA mapping\n");
dev_kfree_skb(skb);
- return NETDEV_TX_OK;
-
out:
return err;
}