summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-09-17 22:57:30 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-09-19 05:47:18 (GMT)
commit1486587b2fcda08dee7eab23784d504eed772c45 (patch)
treeaa717b788535d7dc8e84fa98a8103f5a23cc938e /net/sched
parent106323b905a6bcd21ff83dd4e19566282fd5eb52 (diff)
downloadlinux-1486587b2fcda08dee7eab23784d504eed772c45.tar.xz
pie: use qdisc_dequeue_head wrapper
Doesn't change generated code. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_pie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_pie.c b/net/sched/sch_pie.c
index a570b0b..d976d74 100644
--- a/net/sched/sch_pie.c
+++ b/net/sched/sch_pie.c
@@ -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;