Skip to contentSkip to conversation

net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()

PATCH Applied Yue Haibing 3 participants 3 messages Aug 1, 2023 – Aug 2, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()

Commit 29ab586c3d83 ("net: switchdev: Remove bridge bypass support from switchdev") leave this unused.

---
 include/net/switchdev.h | 2 --
 1 file changed, 2 deletions(-)
include/net/switchdev.h +0 -2
index 4d324e2a2eef..0294cfec9c37 100644
@@ -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;
Signature · 1 line
2.34.1
#2 lore raw
In reply to Yue Haibing
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Tue, 1 Aug 2023 22:42:09 +0800 you wrote:

Commit 29ab586c3d83 ("net: switchdev: Remove bridge bypass support from switchdev") leave this unused.

---
 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html