[net-next] net/hsr: Remove unused function declarations

Message ID 20230729123456.36340-1-yuehaibing@huawei.com
State New
Headers
Series [net-next] net/hsr: Remove unused function declarations |

Commit Message

Yue Haibing July 29, 2023, 12:34 p.m. UTC
  commit f421436a591d ("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)")
introducted these but never implemented.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 net/hsr/hsr_netlink.h | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Simon Horman July 30, 2023, 6:07 p.m. UTC | #1
On Sat, Jul 29, 2023 at 08:34:56PM +0800, Yue Haibing wrote:
> commit f421436a591d ("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)")
> introducted these but never implemented.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>
  
patchwork-bot+netdevbpf@kernel.org Aug. 1, 2023, 3:20 a.m. UTC | #2
Hello:

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

On Sat, 29 Jul 2023 20:34:56 +0800 you wrote:
> commit f421436a591d ("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)")
> introducted these but never implemented.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/hsr/hsr_netlink.h | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - [net-next] net/hsr: Remove unused function declarations
    https://git.kernel.org/netdev/net-next/c/2f48401dd0f2

You are awesome, thank you!
  

Patch

diff --git a/net/hsr/hsr_netlink.h b/net/hsr/hsr_netlink.h
index 501552d9753b..8c99e64e1cea 100644
--- a/net/hsr/hsr_netlink.h
+++ b/net/hsr/hsr_netlink.h
@@ -23,7 +23,5 @@  void __exit hsr_netlink_exit(void);
 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN],
 		      struct hsr_port *port);
 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
-void hsr_nl_framedrop(int dropcount, int dev_idx);
-void hsr_nl_linkdown(int dev_idx);
 
 #endif /* __HSR_NETLINK_H */