Skip to content

Commit

Permalink
net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()
Browse files Browse the repository at this point in the history
Commit 29ab586 ("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>
Link: https://lore.kernel.org/r/20230801144209.27512-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Yue Haibing authored and Jakub Kicinski committed Aug 2, 2023
1 parent e12f2a6 commit f85b1c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/net/switchdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f85b1c7

Please sign in to comment.