mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
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 <edumazet@google.com> Link: https://patch.msgid.link/20250611111515.1983366-6-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
d92adacdd8
commit
adcaa890c7
|
|
@ -973,14 +973,6 @@ static inline void qdisc_qstats_qlen_backlog(struct Qdisc *sch, __u32 *qlen,
|
|||
*backlog = qstats.backlog;
|
||||
}
|
||||
|
||||
static inline void qdisc_tree_flush_backlog(struct Qdisc *sch)
|
||||
{
|
||||
__u32 qlen, backlog;
|
||||
|
||||
qdisc_qstats_qlen_backlog(sch, &qlen, &backlog);
|
||||
qdisc_tree_reduce_backlog(sch, qlen, backlog);
|
||||
}
|
||||
|
||||
static inline void qdisc_purge_queue(struct Qdisc *sch)
|
||||
{
|
||||
__u32 qlen, backlog;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user