diff mbox series

[net-next] net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set()

Message ID 20230808145955.2176-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit a76728719c85eaa8440c353490c639655d60d28f
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1375 this patch: 1375
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 1358 this patch: 1358
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1412 this patch: 1412
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 10 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 8, 2023, 2:59 p.m. UTC
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>
---
 include/net/switchdev.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Simon Horman Aug. 9, 2023, 2:41 p.m. UTC | #1
On Tue, Aug 08, 2023 at 10:59:55PM +0800, Yue Haibing wrote:
> 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>
Petr Machata Aug. 9, 2023, 3:01 p.m. UTC | #2
Yue Haibing <yuehaibing@huawei.com> writes:

> 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: Petr Machata <petrm@nvidia.com>
patchwork-bot+netdevbpf@kernel.org Aug. 9, 2023, 8:20 p.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 8 Aug 2023 22:59:55 +0800 you wrote:
> 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>
> ---
>  include/net/switchdev.h | 4 ----
>  1 file changed, 4 deletions(-)

Here is the summary with links:
  - [net-next] net: switchdev: Remove unused declaration switchdev_port_fwd_mark_set()
    https://git.kernel.org/netdev/net-next/c/a76728719c85

You are awesome, thank you!
diff mbox series

Patch

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),