diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-05-31 16:52:10 +0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-03 13:10:18 -0700 |
commit | c4cf987ebe146ab5a9571f7ebc143cf5cf41bfb9 (patch) | |
tree | 11b90db827cbb65438c34344abe68b3de9ce5b38 /drivers/net/ethernet/mellanox | |
parent | net/mlx5: check for allocation failure in mlx5_ft_pool_init() (diff) | |
download | linux-dev-c4cf987ebe146ab5a9571f7ebc143cf5cf41bfb9.tar.xz linux-dev-c4cf987ebe146ab5a9571f7ebc143cf5cf41bfb9.zip |
net/mlx5e: Remove the repeated declaration
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>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |