diff options
author | arybchik <arybchik@FreeBSD.org> | 2015-12-05 08:21:45 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2015-12-05 08:21:45 +0000 |
commit | 4feb94a6dc9057575a1fb2c83a530af19ff22a56 (patch) | |
tree | ff38d0b2ab04a3fb45365deb2043bc62834dae49 | |
parent | 47eacc9aaaf4c9e629f56983a2c38a8083baf960 (diff) | |
download | FreeBSD-src-4feb94a6dc9057575a1fb2c83a530af19ff22a56.zip FreeBSD-src-4feb94a6dc9057575a1fb2c83a530af19ff22a56.tar.gz |
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
-rw-r--r-- | sys/dev/sfxge/common/efx_filter.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/sfxge/common/efx_filter.c b/sys/dev/sfxge/common/efx_filter.c index 84f99ff..9841715 100644 --- a/sys/dev/sfxge/common/efx_filter.c +++ b/sys/dev/sfxge/common/efx_filter.c @@ -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); |