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) && 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to