projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92adac
)
net_sched: remove qdisc_tree_flush_backlog()
author
Eric Dumazet
<edumazet@google.com>
Wed, 11 Jun 2025 11:15:15 +0000
(11:15 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 12 Jun 2025 15:05:50 +0000
(08:05 -0700)
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>
include/net/sch_generic.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sch_generic.h
b/include/net/sch_generic.h
index 629368ab2787f9ddeff8dbb0a825d9d30e5b0f0c..638948be4c50e2e6f5899ded17943de55d4f94f5 100644
(file)
--- a/
include/net/sch_generic.h
+++ b/
include/net/sch_generic.h
@@
-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;