From owner-svn-src-all@FreeBSD.ORG Fri Aug 8 11:47:19 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61BB1672 for ; Fri, 8 Aug 2014 11:47:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39EFB267C for ; Fri, 8 Aug 2014 11:47:19 +0000 (UTC) Received: from imp (uid 547) (envelope-from imp@FreeBSD.org) id 241f by svn.freebsd.org (DragonFly Mail Agent v0.9+); Fri, 08 Aug 2014 11:47:19 +0000 From: Warner Losh Date: Fri, 8 Aug 2014 11:47:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269713 - head/sys/dev/ata/chipsets X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e4b8c7.241f.4ee338c4@svn.freebsd.org> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 11:47:19 -0000 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))