Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yue Haibing and committed by
David S. Miller
992b4785 047551cd

-13
-13
include/net/pkt_cls.h
··· 138 138 return NULL; 139 139 } 140 140 141 - static inline 142 - int tc_setup_cb_block_register(struct tcf_block *block, flow_setup_cb_t *cb, 143 - void *cb_priv) 144 - { 145 - return 0; 146 - } 147 - 148 - static inline 149 - void tc_setup_cb_block_unregister(struct tcf_block *block, flow_setup_cb_t *cb, 150 - void *cb_priv) 151 - { 152 - } 153 - 154 141 static inline int tcf_classify(struct sk_buff *skb, 155 142 const struct tcf_block *block, 156 143 const struct tcf_proto *tp,