Commit 340e8dc1 authored by David S. Miller's avatar David S. Miller

atm: clip: Remove code commented out since eternity.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3613118
...@@ -340,15 +340,6 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb, ...@@ -340,15 +340,6 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb,
} }
n = dst_get_neighbour(dst); n = dst_get_neighbour(dst);
if (!n) { if (!n) {
#if 0
n = clip_find_neighbour(skb_dst(skb), 1);
if (!n) {
dev_kfree_skb(skb); /* lost that one */
dev->stats.tx_dropped++;
return 0;
}
dst_set_neighbour(dst, n);
#endif
pr_err("NO NEIGHBOUR !\n"); pr_err("NO NEIGHBOUR !\n");
dev_kfree_skb(skb); dev_kfree_skb(skb);
dev->stats.tx_dropped++; dev->stats.tx_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