Author: arybchik Date: Fri May 27 11:47:11 2016 New Revision: 300844 URL: https://svnweb.freebsd.org/changeset/base/300844
Log: sfxge(4): remove set but not used variable Found by lint on illumos. Submitted by: Garrett D'Amore <garrett at damore.org> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified: head/sys/dev/sfxge/common/ef10_nic.c Modified: head/sys/dev/sfxge/common/ef10_nic.c ============================================================================== --- head/sys/dev/sfxge/common/ef10_nic.c Fri May 27 11:46:54 2016 (r300843) +++ head/sys/dev/sfxge/common/ef10_nic.c Fri May 27 11:47:11 2016 (r300844) @@ -795,7 +795,6 @@ ef10_nic_alloc_piobufs( { efx_piobuf_handle_t *handlep; unsigned int i; - efx_rc_t rc; EFSYS_ASSERT3U(max_piobuf_count, <=, EFX_ARRAY_SIZE(enp->en_arch.ef10.ena_piobuf_handle)); @@ -805,7 +804,7 @@ ef10_nic_alloc_piobufs( for (i = 0; i < max_piobuf_count; i++) { handlep = &enp->en_arch.ef10.ena_piobuf_handle[i]; - if ((rc = efx_mcdi_alloc_piobuf(enp, handlep)) != 0) + if (efx_mcdi_alloc_piobuf(enp, handlep) != 0) goto fail1; enp->en_arch.ef10.ena_pio_alloc_map[i] = 0; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"