Fix build with option RSS, removing unused variables.

Reported by:	np
Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2018-12-06 21:52:40 +00:00
parent 9b11a65d1c
commit a748d99a17
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341655

View File

@ -1212,13 +1212,8 @@ mlx5e_create_sq(struct mlx5e_channel *c,
struct mlx5e_priv *priv = c->priv;
struct mlx5_core_dev *mdev = priv->mdev;
char buffer[16];
void *sqc = param->sqc;
void *sqc_wq = MLX5_ADDR_OF(sqc, sqc, wq);
#ifdef RSS
cpuset_t cpu_mask;
int cpu_id;
#endif
int err;
/* Create DMA descriptor TAG */