aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_sfq.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-09-08 23:33:01 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-09 17:34:41 -0700
commit17448e5f63c8f36d00532327ae65e253d1395b08 (patch)
treecb14d09b477fa23d864ba052efd6db4c2416a798 /net/sched/sch_sfq.c
parent4ef6dae4ba0fc074eca69157aa29fe59b22f812c (diff)
downloadlinux-17448e5f63c8f36d00532327ae65e253d1395b08.tar.gz
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/sch_sfq.c')
-rw-r--r--net/sched/sch_sfq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 1af2f73906d07..211db9017c353 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)
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);