From owner-svn-src-all@FreeBSD.ORG Fri Feb 13 17:44:07 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2CE01065676; Fri, 13 Feb 2009 17:44:07 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A1BA58FC13; Fri, 13 Feb 2009 17:44:07 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1DHi7c7094864; Fri, 13 Feb 2009 17:44:07 GMT (envelope-from sbruno@svn.freebsd.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1DHi7ov094863; Fri, 13 Feb 2009 17:44:07 GMT (envelope-from sbruno@svn.freebsd.org) Message-Id: <200902131744.n1DHi7ov094863@svn.freebsd.org> From: Sean Bruno Date: Fri, 13 Feb 2009 17:44:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188584 - head/sys/dev/firewire X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Feb 2009 17:44:08 -0000 Author: sbruno Date: Fri Feb 13 17:44:07 2009 New Revision: 188584 URL: http://svn.freebsd.org/changeset/base/188584 Log: Remove redundant while () from loop. Submitted by: Ganbold Reviewed by: scottl Modified: head/sys/dev/firewire/fwohci.c Modified: head/sys/dev/firewire/fwohci.c ============================================================================== --- head/sys/dev/firewire/fwohci.c Fri Feb 13 16:51:36 2009 (r188583) +++ head/sys/dev/firewire/fwohci.c Fri Feb 13 17:44:07 2009 (r188584) @@ -2979,7 +2979,7 @@ err: db_tr = STAILQ_NEXT(db_tr, link); resCount = FWOHCI_DMA_READ(db_tr->db[0].db.desc.res) & OHCI_COUNT_MASK; - } while (resCount == 0) + } printf(" done\n"); dbch->top = db_tr; dbch->buf_offset = dbch->xferq.psize - resCount;