net_sched: sfq: remove unused macro
authorFlorian Westphal <fw@strlen.de>
Mon, 8 Sep 2014 21:33:01 +0000 (23:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 00:34:41 +0000 (17:34 -0700)
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>
net/sched/sch_sfq.c

index 1af2f73..211db90 100644 (file)
@@ -310,11 +310,6 @@ static inline void slot_queue_add(struct sfq_slot *slot, struct sk_buff *skb)
        slot->skblist_prev = skb;
 }
 
-#define        slot_queue_walk(slot, skb)              \
-       for (skb = slot->skblist_next;          \
-            skb != (struct sk_buff *)slot;     \
-            skb = skb->next)
-
 static unsigned int sfq_drop(struct Qdisc *sch)
 {
        struct sfq_sched_data *q = qdisc_priv(sch);