net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set()
authorYue Haibing <yuehaibing@huawei.com>
Tue, 8 Aug 2023 14:59:55 +0000 (22:59 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Aug 2023 20:12:15 +0000 (13:12 -0700)
Commit 6bc506b4fb06 ("bridge: switchdev: Add forward mark support for stacked devices")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/20230808145955.2176-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/switchdev.h

index 0294cfec9c37c6f6f44fb240f2a99d480ac7593c..a43062d4c734bb4e8e855fdd150b8c169a7fe172 100644 (file)
@@ -326,10 +326,6 @@ int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev,
                                      struct switchdev_notifier_info *info,
                                      struct netlink_ext_ack *extack);
 
-void switchdev_port_fwd_mark_set(struct net_device *dev,
-                                struct net_device *group_dev,
-                                bool joining);
-
 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event,
                const struct switchdev_notifier_fdb_info *fdb_info,
                bool (*check_cb)(const struct net_device *dev),