Skip to content

Commit

Permalink
net: sched: choke: Remove unused inline function choke_set_classid
Browse files Browse the repository at this point in the history
There's no callers in-tree anymore since commit 5952fde ("net:
sched: choke: remove dead filter classify code")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
YueHaibing authored and David S. Miller committed May 5, 2020
1 parent b16751f commit 592138a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions net/sched/sch_choke.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 592138a

Please sign in to comment.