[PATCH net-next] net/mlx5: E-Switch, Remove unused declarations

Yue Haibing posted 1 patch 1 year, 5 months ago
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH net-next] net/mlx5: E-Switch, Remove unused declarations
Posted by Yue Haibing 1 year, 5 months ago
These are never implenmented since commit b691b1116e82 ("net/mlx5: Implement
devlink port function cmds to control ipsec_packet").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 578466d69f21..f44b4c7ebcfd 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
@@ -887,9 +887,6 @@ int mlx5_esw_ipsec_vf_packet_offload_set(struct mlx5_eswitch *esw, struct mlx5_v
 					 bool enable);
 int mlx5_esw_ipsec_vf_packet_offload_supported(struct mlx5_core_dev *dev,
 					       u16 vport_num);
-void mlx5_esw_vport_ipsec_offload_enable(struct mlx5_eswitch *esw);
-void mlx5_esw_vport_ipsec_offload_disable(struct mlx5_eswitch *esw);
-
 #else  /* CONFIG_MLX5_ESWITCH */
 /* eswitch API stubs */
 static inline int  mlx5_eswitch_init(struct mlx5_core_dev *dev) { return 0; }
-- 
2.34.1
Re: [PATCH net-next] net/mlx5: E-Switch, Remove unused declarations
Posted by Simon Horman 1 year, 5 months ago
On Fri, Aug 16, 2024 at 06:15:50PM +0800, Yue Haibing wrote:
> These are never implenmented since commit b691b1116e82 ("net/mlx5: Implement
> devlink port function cmds to control ipsec_packet").
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>