# \[PATCH net-next\] net: switchdev: Remove unused declaration switchdev\_port\_fwd\_mark\_set()

- From: Yue Haibing \<hidden\>
- Date: 2023-08-08 17:38:03 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/11268631
- Thread: https://ratatoskr.run/netdev/2023/08/11268631/t.md

```text
Commit 6bc506b4fb06 ("bridge: switchdev: Add forward mark support for stacked devices")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <redacted>
---
 include/net/switchdev.h | 4 ----
 1 file changed, 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),
-- 
2.34.1

```
