Commit 3600cdad authored by David S. Miller's avatar David S. Miller

veth: Kill unused code label and code block.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b7f7626
...@@ -148,13 +148,6 @@ static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -148,13 +148,6 @@ static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev)
return NETDEV_TX_OK; 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: rx_drop:
u64_stats_update_begin(&rcv_stats->syncp); u64_stats_update_begin(&rcv_stats->syncp);
rcv_stats->rx_dropped++; rcv_stats->rx_dropped++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment