diff options
author | Florian Westphal <fw@strlen.de> | 2014-09-08 17:33:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 20:34:41 -0400 |
commit | 17448e5f63c8f36d00532327ae65e253d1395b08 (patch) | |
tree | cb14d09b477fa23d864ba052efd6db4c2416a798 /net/sched | |
parent | 4ef6dae4ba0fc074eca69157aa29fe59b22f812c (diff) |
net_sched: sfq: remove unused macro
not used anymore since ddecf0f
(net_sched: sfq: add optional RED on top of SFQ).
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_sfq.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c index 1af2f73906d0..211db9017c35 100644 --- a/net/sched/sch_sfq.c +++ b/net/sched/sch_sfq.c | |||
@@ -310,11 +310,6 @@ static inline void slot_queue_add(struct sfq_slot *slot, struct sk_buff *skb) | |||
310 | slot->skblist_prev = skb; | 310 | slot->skblist_prev = skb; |
311 | } | 311 | } |
312 | 312 | ||
313 | #define slot_queue_walk(slot, skb) \ | ||
314 | for (skb = slot->skblist_next; \ | ||
315 | skb != (struct sk_buff *)slot; \ | ||
316 | skb = skb->next) | ||
317 | |||
318 | static unsigned int sfq_drop(struct Qdisc *sch) | 313 | static unsigned int sfq_drop(struct Qdisc *sch) |
319 | { | 314 | { |
320 | struct sfq_sched_data *q = qdisc_priv(sch); | 315 | struct sfq_sched_data *q = qdisc_priv(sch); |