All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/mlx5e: Remove the repeated declaration
@ 2021-05-31  8:52 Shaokun Zhang
  2021-06-03 19:41 ` Saeed Mahameed
  0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2021-05-31  8:52 UTC (permalink / raw)
  To: netdev, linux-rdma; +Cc: Shaokun Zhang, Saeed Mahameed, Leon Romanovsky

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);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/mlx5e: Remove the repeated declaration
  2021-05-31  8:52 [PATCH] net/mlx5e: Remove the repeated declaration Shaokun Zhang
@ 2021-06-03 19:41 ` Saeed Mahameed
  0 siblings, 0 replies; 2+ messages in thread
From: Saeed Mahameed @ 2021-06-03 19:41 UTC (permalink / raw)
  To: Shaokun Zhang, netdev, linux-rdma; +Cc: Leon Romanovsky

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-03 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  8:52 [PATCH] net/mlx5e: Remove the repeated declaration Shaokun Zhang
2021-06-03 19:41 ` Saeed Mahameed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.