OSDN Git Service

net: sched: choke: Remove unused inline function choke_set_classid
authorYueHaibing <yuehaibing@huawei.com>
Tue, 5 May 2020 08:47:36 +0000 (16:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 19:07:43 +0000 (12:07 -0700)
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>
net/sched/sch_choke.c

index a36974e..2d350c7 100644 (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.