1
0
Fork 0

net: sched: choke: Remove unused inline function choke_set_classid

There's no callers in-tree anymore since commit 5952fde10c ("net:
sched: choke: remove dead filter classify code")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
alistair/sunxi64-5.8
YueHaibing 2020-05-05 16:47:36 +08:00 committed by David S. Miller
parent b16751f7ad
commit 592138a88d
1 changed files with 0 additions and 5 deletions

View File

@ -142,11 +142,6 @@ static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb)
return (struct choke_skb_cb *)qdisc_skb_cb(skb)->data;
}
static inline void choke_set_classid(struct sk_buff *skb, u16 classid)
{
choke_skb_cb(skb)->classid = classid;
}
/*
* Compare flow of two packets
* Returns true only if source and destination address and port match.