Commit 3600cdadb7ab9ee5f4e73ed01242c3e8b8e3282c
1 parent
5b7f762674
Exists in
master
and in
20 other branches
veth: Kill unused code label and code block.
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 0 additions and 7 deletions Side-by-side Diff
drivers/net/veth.c
... | ... | @@ -148,13 +148,6 @@ |
148 | 148 | |
149 | 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 | 151 | rx_drop: |
159 | 152 | u64_stats_update_begin(&rcv_stats->syncp); |
160 | 153 | rcv_stats->rx_dropped++; |