diff options
| author | Yue Haibing <yuehaibing@huawei.com> | 2025-10-21 19:46:26 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-22 19:20:48 -0700 |
| commit | 114573962a68a527835f2f1433a89bc2f9feac1b (patch) | |
| tree | 0b190898f8efaad17af7d0c92a22f8f1b1bd6918 /include | |
| parent | 10e0378f05d2b89c4f88f04ec56b2a5b9a116648 (diff) | |
net/sched: Remove unused inline helper qdisc_from_priv()
Since commit fb38306ceb9e ("net/sched: Retire ATM qdisc"), this is
not used and can be removed.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20251021114626.3148894-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/pkt_sched.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index 8a75c73fc555..c660ac871083 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h @@ -25,11 +25,6 @@ struct qdisc_walker { const struct Qdisc * : (const void *)&q->privdata, \ struct Qdisc * : (void *)&q->privdata) -static inline struct Qdisc *qdisc_from_priv(void *priv) -{ - return container_of(priv, struct Qdisc, privdata); -} - /* Timer resolution MUST BE < 10% of min_schedulable_packet_size/bandwidth |
