]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
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 a570b0bb254c1394d0af9d3aada7bc2d08e6b389..d976d74b22d7d8f089d8190dd2f65f02ff20f196 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;