* [PATCH net-next] net: pkt_cls: Remove unused inline helpers
@ 2023-08-05 10:52 Yue Haibing
2023-08-07 8:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2023-08-05 10:52 UTC (permalink / raw)
To: jhs, xiyou.wangcong, jiri, davem, edumazet, kuba, pabeni
Cc: netdev, yuehaibing
Commit acb674428c3d ("net: sched: introduce per-block callbacks")
implemented these but never used it.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
include/net/pkt_cls.h | 13 -------------
1 file changed, 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,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: pkt_cls: Remove unused inline helpers
2023-08-05 10:52 [PATCH net-next] net: pkt_cls: Remove unused inline helpers Yue Haibing
@ 2023-08-07 8:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-07 8:00 UTC (permalink / raw)
To: Yue Haibing
Cc: jhs, xiyou.wangcong, jiri, davem, edumazet, kuba, pabeni, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Sat, 5 Aug 2023 18:52:08 +0800 you wrote:
> Commit acb674428c3d ("net: sched: introduce per-block callbacks")
> implemented these but never used it.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> include/net/pkt_cls.h | 13 -------------
> 1 file changed, 13 deletions(-)
Here is the summary with links:
- [net-next] net: pkt_cls: Remove unused inline helpers
https://git.kernel.org/netdev/net-next/c/992b47851be9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-07 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-05 10:52 [PATCH net-next] net: pkt_cls: Remove unused inline helpers Yue Haibing
2023-08-07 8:00 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.