net: pkt_cls: Remove unused inline helpers
authorYue Haibing <yuehaibing@huawei.com>
Sat, 5 Aug 2023 10:52:08 +0000 (18:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2023 07:53:54 +0000 (08:53 +0100)
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>
include/net/pkt_cls.h

index 139cd09..f308e82 100644 (file)
@@ -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,