Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 21:52:40 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341655 - head/sys/dev/mlx5/mlx5_en
Message-ID:  <201812062152.wB6LqeYl095801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812062152.wB6LqeYl095801>