Skip to content

Commit

Permalink
veth: Kill unused code label and code block.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Jul 6, 2011
1 parent 5b7f762 commit 3600cda
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 3600cda

Please sign in to comment.