Skip to content

Commit

Permalink
net/sched: Remove unused function qdisc_queue_drop_head()
Browse files Browse the repository at this point in the history
It is not used since commit a09ceb0 ("sched: remove qdisc->drop")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
YueHaibing authored and David S. Miller committed Sep 17, 2020
1 parent 8b97477 commit 2b7ea12
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/net/sch_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1047,12 +1047,6 @@ static inline unsigned int __qdisc_queue_drop_head(struct Qdisc *sch,
return 0;
}

static inline unsigned int qdisc_queue_drop_head(struct Qdisc *sch,
struct sk_buff **to_free)
{
return __qdisc_queue_drop_head(sch, &sch->q, to_free);
}

static inline struct sk_buff *qdisc_peek_head(struct Qdisc *sch)
{
const struct qdisc_skb_head *qh = &sch->q;
Expand Down

0 comments on commit 2b7ea12

Please sign in to comment.