From owner-svn-src-head@FreeBSD.ORG Tue Sep 18 02:19:44 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03B751065670; Tue, 18 Sep 2012 02:19:44 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E27AA8FC16; Tue, 18 Sep 2012 02:19:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8I2Jhev021164; Tue, 18 Sep 2012 02:19:43 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8I2JhV2021161; Tue, 18 Sep 2012 02:19:43 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201209180219.q8I2JhV2021161@svn.freebsd.org> From: Kevin Lo Date: Tue, 18 Sep 2012 02:19:43 +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: r240627 - in head/sys/dev: ata mly X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 02:19:44 -0000 Author: kevlo Date: Tue Sep 18 02:19:43 2012 New Revision: 240627 URL: http://svn.freebsd.org/changeset/base/240627 Log: Remove bogus break statements. Obtained from: DragonFly Modified: head/sys/dev/ata/ata-lowlevel.c head/sys/dev/mly/mly.c Modified: head/sys/dev/ata/ata-lowlevel.c ============================================================================== --- head/sys/dev/ata/ata-lowlevel.c Tue Sep 18 02:14:47 2012 (r240626) +++ head/sys/dev/ata/ata-lowlevel.c Tue Sep 18 02:19:43 2012 (r240627) @@ -370,7 +370,6 @@ ata_end_transaction(struct ata_request * "%s trying to write on read buffer\n", ata_cmd2str(request)); goto end_finished; - break; } ata_pio_write(request, length); request->donecount += length; Modified: head/sys/dev/mly/mly.c ============================================================================== --- head/sys/dev/mly/mly.c Tue Sep 18 02:14:47 2012 (r240626) +++ head/sys/dev/mly/mly.c Tue Sep 18 02:19:43 2012 (r240627) @@ -1350,7 +1350,6 @@ mly_process_event(struct mly_softc *sc, if (action == 'r') sc->mly_btl[bus][target].mb_flags |= MLY_BTL_RESCAN; break; - break; case 's': /* report of sense data */ if (((ssd->flags & SSD_KEY) == SSD_KEY_NO_SENSE) || (((ssd->flags & SSD_KEY) == SSD_KEY_NOT_READY) &&