Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 08:21:45 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291846 - head/sys/dev/sfxge/common
Message-ID:  <201512050821.tB58LjBi082835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Sat Dec  5 08:21:45 2015
New Revision: 291846
URL: https://svnweb.freebsd.org/changeset/base/291846

Log:
  sfxge: cleanup: remove set but not used saved_spec variable
  
  Required to build with -Werror=unused-but-set-variable.
  
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

Modified:
  head/sys/dev/sfxge/common/efx_filter.c

Modified: head/sys/dev/sfxge/common/efx_filter.c
==============================================================================
--- head/sys/dev/sfxge/common/efx_filter.c	Sat Dec  5 08:10:32 2015	(r291845)
+++ head/sys/dev/sfxge/common/efx_filter.c	Sat Dec  5 08:21:45 2015	(r291846)
@@ -1345,7 +1345,6 @@ falconsiena_filter_delete(
 	falconsiena_filter_t *fsfp = enp->en_filter.ef_falconsiena_filter;
 	falconsiena_filter_tbl_id_t tbl_id;
 	falconsiena_filter_tbl_t *fsftp;
-	falconsiena_filter_spec_t *saved_spec;
 	efx_oword_t filter;
 	int filter_idx;
 	unsigned int depth;
@@ -1369,8 +1368,6 @@ falconsiena_filter_delete(
 	if (rc != 0)
 		goto fail2;
 
-	saved_spec = &fsftp->fsft_spec[filter_idx];
-
 	falconsiena_filter_clear_entry(enp, fsftp, filter_idx);
 	if (fsftp->fsft_used == 0)
 		falconsiena_filter_reset_search_depth(fsfp, tbl_id);



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