Date: Fri, 8 Aug 2014 11:47:19 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269713 - head/sys/dev/ata/chipsets Message-ID: <53e4b8c7.241f.4ee338c4@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Aug 8 11:47:18 2014 New Revision: 269713 URL: http://svnweb.freebsd.org/changeset/base/269713 Log: err set but not used. Eliminate it. Modified: head/sys/dev/ata/chipsets/ata-promise.c Modified: head/sys/dev/ata/chipsets/ata-promise.c ============================================================================== --- head/sys/dev/ata/chipsets/ata-promise.c Fri Aug 8 11:47:14 2014 (r269712) +++ head/sys/dev/ata/chipsets/ata-promise.c Fri Aug 8 11:47:18 2014 (r269713) @@ -957,9 +957,9 @@ ata_promise_mio_softreset(device_t dev, /* wait for BUSY to go inactive */ for (timeout = 0; timeout < 100; timeout++) { - u_int8_t err, stat; + u_int8_t /* err, */ stat; - err = ATA_IDX_INB(ch, ATA_ERROR); + /* err = */ ATA_IDX_INB(ch, ATA_ERROR); stat = ATA_IDX_INB(ch, ATA_STATUS); //if (stat == err && timeout > (stat & ATA_S_BUSY ? 100 : 10))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e4b8c7.241f.4ee338c4>