Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17448e5f authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller
Browse files

net_sched: sfq: remove unused macro



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

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ef6dae4
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);