diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-11 09:06:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-11 14:17:32 -0400 |
commit | b396cca6fafccf16206a5d041d59c9e6b65b6f5a (patch) | |
tree | fe3b01a37526d5398cae514cac51c88fc8997879 /include/net/sch_generic.h | |
parent | 3824246d373249e3fc2fd775f5cb4700552681da (diff) | |
download | linux-stable-b396cca6fafccf16206a5d041d59c9e6b65b6f5a.tar.gz linux-stable-b396cca6fafccf16206a5d041d59c9e6b65b6f5a.tar.bz2 linux-stable-b396cca6fafccf16206a5d041d59c9e6b65b6f5a.zip |
net: sched: deprecate enqueue_root()
Only left enqueue_root() user is netem, and it looks not necessary :
qdisc_skb_cb(skb)->pkt_len is preserved after one skb_clone()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 994b5a092f33..1b0a2e88ed2b 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -501,12 +501,6 @@ static inline int qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch) return sch->enqueue(skb, sch); } -static inline int qdisc_enqueue_root(struct sk_buff *skb, struct Qdisc *sch) -{ - qdisc_skb_cb(skb)->pkt_len = skb->len; - return qdisc_enqueue(skb, sch) & NET_XMIT_MASK; -} - static inline bool qdisc_is_percpu_stats(const struct Qdisc *q) { return q->flags & TCQ_F_CPUSTATS; |