Date: Sat, 4 Jun 2016 17:18:35 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r301396 - stable/10/sys/dev/sfxge/common Message-ID: <201606041718.u54HIZYn056247@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Sat Jun 4 17:18:35 2016 New Revision: 301396 URL: https://svnweb.freebsd.org/changeset/base/301396 Log: MFC r300844 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. Modified: stable/10/sys/dev/sfxge/common/ef10_nic.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/sfxge/common/ef10_nic.c ============================================================================== --- stable/10/sys/dev/sfxge/common/ef10_nic.c Sat Jun 4 17:17:30 2016 (r301395) +++ stable/10/sys/dev/sfxge/common/ef10_nic.c Sat Jun 4 17:18:35 2016 (r301396) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041718.u54HIZYn056247>