Skip to content

Commit adcaa89

Browse files
edumazetkuba-moo
authored andcommitted
net_sched: remove qdisc_tree_flush_backlog()
This function is no longer used after the four prior fixes. Given all prior uses were wrong, it seems better to remove it. Signed-off-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d92adac commit adcaa89

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/net/sch_generic.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -973,14 +973,6 @@ static inline void qdisc_qstats_qlen_backlog(struct Qdisc *sch, __u32 *qlen,
973973
*backlog = qstats.backlog;
974974
}
975975

976-
static inline void qdisc_tree_flush_backlog(struct Qdisc *sch)
977-
{
978-
__u32 qlen, backlog;
979-
980-
qdisc_qstats_qlen_backlog(sch, &qlen, &backlog);
981-
qdisc_tree_reduce_backlog(sch, qlen, backlog);
982-
}
983-
984976
static inline void qdisc_purge_queue(struct Qdisc *sch)
985977
{
986978
__u32 qlen, backlog;

0 commit comments

Comments
 (0)