Skip to content

Commit 2b7ea12

Browse files
YueHaibingdavem330
authored andcommitted
net/sched: Remove unused function qdisc_queue_drop_head()
It is not used since commit a09ceb0 ("sched: remove qdisc->drop") Signed-off-by: YueHaibing <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8b97477 commit 2b7ea12

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/net/sch_generic.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,12 +1047,6 @@ static inline unsigned int __qdisc_queue_drop_head(struct Qdisc *sch,
10471047
return 0;
10481048
}
10491049

1050-
static inline unsigned int qdisc_queue_drop_head(struct Qdisc *sch,
1051-
struct sk_buff **to_free)
1052-
{
1053-
return __qdisc_queue_drop_head(sch, &sch->q, to_free);
1054-
}
1055-
10561050
static inline struct sk_buff *qdisc_peek_head(struct Qdisc *sch)
10571051
{
10581052
const struct qdisc_skb_head *qh = &sch->q;

0 commit comments

Comments
 (0)