pie: use qdisc_dequeue_head wrapper
authorFlorian Westphal <fw@strlen.de>
Sat, 17 Sep 2016 22:57:30 +0000 (00:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:47:18 +0000 (01:47 -0400)
Doesn't change generated code.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_pie.c

index a570b0b..d976d74 100644 (file)
@@ -511,7 +511,7 @@ static int pie_dump_stats(struct Qdisc *sch, struct gnet_dump *d)
 static struct sk_buff *pie_qdisc_dequeue(struct Qdisc *sch)
 {
        struct sk_buff *skb;
-       skb = __qdisc_dequeue_head(sch, &sch->q);
+       skb = qdisc_dequeue_head(sch);
 
        if (!skb)
                return NULL;