net/mlx5: Cleanup unused field in Work Queue parameters
Remove the 'linear' field from struct mlx5_wq_param. It is redundant, set but never read. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
12b996d16b
commit
6fa242af73
@ -1896,7 +1896,6 @@ static void mlx5e_build_rq_param(struct mlx5e_priv *priv,
|
||||
MLX5_SET(rqc, rqc, scatter_fcs, params->scatter_fcs_en);
|
||||
|
||||
param->wq.buf_numa_node = dev_to_node(&mdev->pdev->dev);
|
||||
param->wq.linear = 1;
|
||||
}
|
||||
|
||||
static void mlx5e_build_drop_rq_param(struct mlx5e_priv *priv,
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include <linux/mlx5/qp.h>
|
||||
|
||||
struct mlx5_wq_param {
|
||||
int linear;
|
||||
int buf_numa_node;
|
||||
int db_numa_node;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user