diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2023-08-05 13:52:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-07 10:53:54 +0300 |
commit | 992b47851be9125c1de480c8f34cc0ea7eb58daf (patch) | |
tree | c45027351576f6fd5f48d4e325a682af889fffe9 /include | |
parent | 047551cd305ce2f51f8cf16ed5638f1e120f90af (diff) | |
download | linux-992b47851be9125c1de480c8f34cc0ea7eb58daf.tar.xz |
net: pkt_cls: Remove unused inline helpers
Commit acb674428c3d ("net: sched: introduce per-block callbacks")
implemented these but never used it.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/pkt_cls.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 139cd09828af..f308e8268651 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -138,19 +138,6 @@ static inline struct Qdisc *tcf_block_q(struct tcf_block *block) return NULL; } -static inline -int tc_setup_cb_block_register(struct tcf_block *block, flow_setup_cb_t *cb, - void *cb_priv) -{ - return 0; -} - -static inline -void tc_setup_cb_block_unregister(struct tcf_block *block, flow_setup_cb_t *cb, - void *cb_priv) -{ -} - static inline int tcf_classify(struct sk_buff *skb, const struct tcf_block *block, const struct tcf_proto *tp, |