diff mbox series

net/mlx5e: Remove the repeated declaration

Message ID 1622451130-58224-1-git-send-email-zhangshaokun@hisilicon.com
State New
Headers show
Series net/mlx5e: Remove the repeated declaration | expand

Commit Message

Shaokun Zhang May 31, 2021, 8:52 a.m. UTC
Function 'mlx5e_deactivate_rq' is declared twice, so remove the
repeated declaration.

Cc: Saeed Mahameed <saeedm@nvidia.com>
Cc: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Saeed Mahameed June 3, 2021, 7:41 p.m. UTC | #1
On Mon, 2021-05-31 at 16:52 +0800, Shaokun Zhang wrote:
> Function 'mlx5e_deactivate_rq' is declared twice, so remove the

> repeated declaration.

> 

> Cc: Saeed Mahameed <saeedm@nvidia.com>

> Cc: Leon Romanovsky <leon@kernel.org>

> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>

> ---

>  drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h

> b/drivers/net/ethernet/mellanox/mlx5/core/en.h

> index b636d63358d2..d966d5f40e78 100644

> --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h

> +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h

> @@ -974,7 +974,6 @@ int mlx5e_open_rq(struct mlx5e_params *params,

> struct mlx5e_rq_param *param,

>                   struct mlx5e_xsk_param *xsk, int node,

>                   struct mlx5e_rq *rq);

>  int mlx5e_wait_for_min_rx_wqes(struct mlx5e_rq *rq, int wait_time);

> -void mlx5e_deactivate_rq(struct mlx5e_rq *rq);

>  void mlx5e_close_rq(struct mlx5e_rq *rq);

>  int mlx5e_create_rq(struct mlx5e_rq *rq, struct mlx5e_rq_param

> *param);

>  void mlx5e_destroy_rq(struct mlx5e_rq *rq);

 
applied to net-next-mlx5
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index b636d63358d2..d966d5f40e78 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -974,7 +974,6 @@  int mlx5e_open_rq(struct mlx5e_params *params, struct mlx5e_rq_param *param,
 		  struct mlx5e_xsk_param *xsk, int node,
 		  struct mlx5e_rq *rq);
 int mlx5e_wait_for_min_rx_wqes(struct mlx5e_rq *rq, int wait_time);
-void mlx5e_deactivate_rq(struct mlx5e_rq *rq);
 void mlx5e_close_rq(struct mlx5e_rq *rq);
 int mlx5e_create_rq(struct mlx5e_rq *rq, struct mlx5e_rq_param *param);
 void mlx5e_destroy_rq(struct mlx5e_rq *rq);