From: Florian Westphal Date: Mon, 8 Sep 2014 21:33:01 +0000 (+0200) Subject: net_sched: sfq: remove unused macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17448e5f63c8f36d00532327ae65e253d1395b08;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- 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) 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);