summaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-05 23:49:03 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-05 23:49:03 -0700
commit3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c (patch)
treec429f38ac65ca688ae03a18a4024fa4a667833fe /drivers/net/veth.c
parent5b7f7626743e0912958981343b47ac0ab2206b1c (diff)
downloadlinux-3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c.tar.gz
linux-3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c.tar.bz2
linux-3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c.zip
veth: Kill unused code label and code block.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r--drivers/net/veth.c7
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)
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++;