summaryrefslogtreecommitdiff
path: root/net/sched/sch_choke.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-05-05 11:47:36 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-05 22:07:43 +0300
commit592138a88d967ae9279275ef275b729e866a552a (patch)
tree9262f3688a550b76dd2b2b71c90603f42c55045f /net/sched/sch_choke.c
parentb16751f7adae1d1b6beae0a44cd45d65715ddbf2 (diff)
downloadlinux-592138a88d967ae9279275ef275b729e866a552a.tar.xz
net: sched: choke: Remove unused inline function choke_set_classid
There's no callers in-tree anymore since commit 5952fde10c35 ("net: sched: choke: remove dead filter classify code") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_choke.c')
-rw-r--r--net/sched/sch_choke.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/sch_choke.c b/net/sched/sch_choke.c
index a36974e9c601..2d350c734375 100644
--- a/net/sched/sch_choke.c
+++ b/net/sched/sch_choke.c
@@ -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.