diff mbox series

[net-next] net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()

Message ID 20230801144209.27512-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit f85b1c7da776d0cb2b4509bdd7f406fe5607930b
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t() | 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: 1373 this patch: 1373
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 1356 this patch: 1356
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: 1410 this patch: 1410
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 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. 1, 2023, 2:42 p.m. UTC
Commit 29ab586c3d83 ("net: switchdev: Remove bridge bypass support from switchdev")
leave this unused.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/net/switchdev.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Simon Horman Aug. 2, 2023, 12:48 p.m. UTC | #1
On Tue, Aug 01, 2023 at 10:42:09PM +0800, Yue Haibing wrote:
> Commit 29ab586c3d83 ("net: switchdev: Remove bridge bypass support from switchdev")
> leave this unused.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org Aug. 2, 2023, 7:40 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 1 Aug 2023 22:42:09 +0800 you wrote:
> Commit 29ab586c3d83 ("net: switchdev: Remove bridge bypass support from switchdev")
> leave this unused.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/switchdev.h | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - [net-next] net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()
    https://git.kernel.org/netdev/net-next/c/f85b1c7da776

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 4d324e2a2eef..0294cfec9c37 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -201,8 +201,6 @@  struct switchdev_obj_in_state_mrp {
 #define SWITCHDEV_OBJ_IN_STATE_MRP(OBJ) \
 	container_of((OBJ), struct switchdev_obj_in_state_mrp, obj)
 
-typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *obj);
-
 struct switchdev_brport {
 	struct net_device *dev;
 	const void *ctx;