diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-06 02:49:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-06 02:49:03 -0400 |
commit | 3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c (patch) | |
tree | c429f38ac65ca688ae03a18a4024fa4a667833fe /drivers/net | |
parent | 5b7f7626743e0912958981343b47ac0ab2206b1c (diff) |
veth: Kill unused code label and code block.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/veth.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 9eb92bfa92ab..19e0b0c72f49 100644 --- 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) | |||
148 | 148 | ||
149 | return NETDEV_TX_OK; | 149 | return NETDEV_TX_OK; |
150 | 150 | ||
151 | tx_drop: | ||
152 | kfree_skb(skb); | ||
153 | u64_stats_update_begin(&stats->syncp); | ||
154 | stats->tx_dropped++; | ||
155 | u64_stats_update_end(&stats->syncp); | ||
156 | return NETDEV_TX_OK; | ||
157 | |||
158 | rx_drop: | 151 | rx_drop: |
159 | u64_stats_update_begin(&rcv_stats->syncp); | 152 | u64_stats_update_begin(&rcv_stats->syncp); |
160 | rcv_stats->rx_dropped++; | 153 | rcv_stats->rx_dropped++; |