Skip to content

Commit

Permalink
net: pkt_cls: Remove unused inline helpers
Browse files Browse the repository at this point in the history
Commit acb6744 ("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>
  • Loading branch information
Yue Haibing authored and David S. Miller committed Aug 7, 2023
1 parent 047551c commit 992b478
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions include/net/pkt_cls.h
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 992b478

Please sign in to comment.