Skip to contentSkip to conversation

net_sched: sfq: remove unused macro

PATCH Applied Florian Westphal 3 participants 3 messages Sep 8, 2014 – Sep 10, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net_sched: sfq: remove unused macro

not used anymore since ddecf0f
(net_sched: sfq: add optional RED on top of SFQ).

---
 net/sched/sch_sfq.c | 5 -----
 1 file changed, 5 deletions(-)
net/sched/sch_sfq.c +0 -5
index 1af2f73..211db90 100644
@@ -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);
Signature · 1 line
1.8.1.5