diff mbox series

[net-next] net: pkt_cls: Remove unused inline helpers

Message ID 20230805105208.45812-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 992b47851be9125c1de480c8f34cc0ea7eb58daf
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: pkt_cls: Remove unused inline helpers | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1385 this patch: 1385
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 1355 this patch: 1355
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1424 this patch: 1424
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 19 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 5, 2023, 10:52 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 7, 2023, 8 a.m. UTC | #1
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!
diff mbox series

Patch

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,