mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
net/sched: Remove unused inline helper qdisc_from_priv()
Since commit fb38306ceb ("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>
This commit is contained in:
committed by
Jakub Kicinski
parent
10e0378f05
commit
114573962a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user