projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7f762
)
veth: Kill unused code label and code block.
author
David S. Miller
<davem@davemloft.net>
Wed, 6 Jul 2011 06:49:03 +0000
(23:49 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 6 Jul 2011 06:49:03 +0000
(23:49 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
patch
|
blob
|
history
diff --git
a/drivers/net/veth.c
b/drivers/net/veth.c
index 9eb92bfa92ab44fadca0c5f4f7f3a1408e377578..19e0b0c72f49f229272be1da5a964da9dc87eae1 100644
(file)
--- a/
drivers/net/veth.c
+++ b/
drivers/net/veth.c
@@
-148,13
+148,6
@@
static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev)
return NETDEV_TX_OK;
-tx_drop:
- kfree_skb(skb);
- u64_stats_update_begin(&stats->syncp);
- stats->tx_dropped++;
- u64_stats_update_end(&stats->syncp);
- return NETDEV_TX_OK;
-
rx_drop:
u64_stats_update_begin(&rcv_stats->syncp);
rcv_stats->rx_dropped++;