diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-02 14:27:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-02 14:27:11 -0500 |
commit | 340e8dc1fb4032b6c8334c9bff20b2aec42ecfd8 (patch) | |
tree | 0447574f6879782f7fe8f093b0a2f7e86f40d6b7 /net/atm | |
parent | b3613118eb30a589d971e4eccbbb2a1314f5dfd4 (diff) |
atm: clip: Remove code commented out since eternity.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/clip.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index f3b36154b0c5..c84ce7fe3f9b 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c | |||
@@ -340,15 +340,6 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb, | |||
340 | } | 340 | } |
341 | n = dst_get_neighbour(dst); | 341 | n = dst_get_neighbour(dst); |
342 | if (!n) { | 342 | if (!n) { |
343 | #if 0 | ||
344 | n = clip_find_neighbour(skb_dst(skb), 1); | ||
345 | if (!n) { | ||
346 | dev_kfree_skb(skb); /* lost that one */ | ||
347 | dev->stats.tx_dropped++; | ||
348 | return 0; | ||
349 | } | ||
350 | dst_set_neighbour(dst, n); | ||
351 | #endif | ||
352 | pr_err("NO NEIGHBOUR !\n"); | 343 | pr_err("NO NEIGHBOUR !\n"); |
353 | dev_kfree_skb(skb); | 344 | dev_kfree_skb(skb); |
354 | dev->stats.tx_dropped++; | 345 | dev->stats.tx_dropped++; |