projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b361311
)
atm: clip: Remove code commented out since eternity.
author
David S. Miller
<davem@davemloft.net>
Fri, 2 Dec 2011 19:27:11 +0000
(14:27 -0500)
committer
David S. Miller
<davem@davemloft.net>
Fri, 2 Dec 2011 19:27:11 +0000
(14:27 -0500)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/clip.c
patch
|
blob
|
blame
|
history
diff --git
a/net/atm/clip.c
b/net/atm/clip.c
index f3b36154b0c5104b8228f5eb0bb99bde149b8d96..c84ce7fe3f9bbe376ccc429cb70afe8623c09ff4 100644
(file)
--- 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,
}
n = dst_get_neighbour(dst);
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");
dev_kfree_skb(skb);
dev->stats.tx_dropped++;