summaryrefslogtreecommitdiff
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-01 17:42:09 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-02 22:28:26 +0300
commitf85b1c7da776d0cb2b4509bdd7f406fe5607930b (patch)
tree75493460d2089a4fef56a7609024b44635301ae5 /include/net/switchdev.h
parente12f2a6d1b9e10cfa1a5c520a620cd5c3a7ceba3 (diff)
downloadlinux-f85b1c7da776d0cb2b4509bdd7f406fe5607930b.tar.xz
net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()
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> Link: https://lore.kernel.org/r/20230801144209.27512-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r--include/net/switchdev.h2
1 files changed, 0 insertions, 2 deletions
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;