From: Yue Haibing Date: Tue, 8 Aug 2023 14:59:55 +0000 (+0800) Subject: net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a76728719c85eaa8440c353490c639655d60d28f;p=linux.git 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 Reviewed-by: Simon Horman Reviewed-by: Petr Machata Link: https://lore.kernel.org/r/20230808145955.2176-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski --- diff --git a/include/net/switchdev.h b/include/net/switchdev.h index 0294cfec9c37c..a43062d4c734b 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),