Fix build with option RSS, removing unused variables.
Reported by: np Sponsored by: Mellanox Technologies MFC after: 1 week
This commit is contained in:
parent
9b11a65d1c
commit
a748d99a17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341655
@ -1212,13 +1212,8 @@ mlx5e_create_sq(struct mlx5e_channel *c,
|
|||||||
struct mlx5e_priv *priv = c->priv;
|
struct mlx5e_priv *priv = c->priv;
|
||||||
struct mlx5_core_dev *mdev = priv->mdev;
|
struct mlx5_core_dev *mdev = priv->mdev;
|
||||||
char buffer[16];
|
char buffer[16];
|
||||||
|
|
||||||
void *sqc = param->sqc;
|
void *sqc = param->sqc;
|
||||||
void *sqc_wq = MLX5_ADDR_OF(sqc, sqc, wq);
|
void *sqc_wq = MLX5_ADDR_OF(sqc, sqc, wq);
|
||||||
#ifdef RSS
|
|
||||||
cpuset_t cpu_mask;
|
|
||||||
int cpu_id;
|
|
||||||
#endif
|
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
/* Create DMA descriptor TAG */
|
/* Create DMA descriptor TAG */
|
||||||
|
Loading…
Reference in New Issue
Block a user