aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-08 22:59:55 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-09 13:12:15 -0700
commita76728719c85eaa8440c353490c639655d60d28f (patch)
treec09f38e3b3614349139f8342d09950ae8b340697
parentmlxbf_gige: Remove two unused function declarations (diff)
downloadwireguard-linux-a76728719c85eaa8440c353490c639655d60d28f.tar.xz
wireguard-linux-a76728719c85eaa8440c353490c639655d60d28f.zip
net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set()
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>
-rw-r--r--include/net/switchdev.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 0294cfec9c37..a43062d4c734 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -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),