svn commit: r341655 - head/sys/dev/mlx5/mlx5_en

Konstantin Belousov kib at FreeBSD.org
Thu Dec 6 21:52:41 UTC 2018


Author: kib
Date: Thu Dec  6 21:52:40 2018
New Revision: 341655
URL: https://svnweb.freebsd.org/changeset/base/341655

Log:
  Fix build with option RSS, removing unused variables.
  
  Reported by:	np
  Sponsored by:	Mellanox Technologies
  MFC after:	1 week

Modified:
  head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c

Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Thu Dec  6 21:33:08 2018	(r341654)
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Thu Dec  6 21:52:40 2018	(r341655)
@@ -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 */


More information about the svn-src-head mailing list