[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230801144209.27512-1-yuehaibing@huawei.com>
Date: Tue, 1 Aug 2023 22:42:09 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <jiri@...nulli.us>, <ivecera@...hat.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<petrm@...dia.com>, <yuehaibing@...wei.com>
CC: <netdev@...r.kernel.org>
Subject: [PATCH net-next] 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@...wei.com>
---
include/net/switchdev.h | 2 --
1 file changed, 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;
--
2.34.1
Powered by blists - more mailing lists