summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-09-18 02:19:43 +0000
committerkevlo <kevlo@FreeBSD.org>2012-09-18 02:19:43 +0000
commit6568ceefafa0357db5797c3bc8f9c824501d671b (patch)
tree246da2729d4a5fb4e9d88a5467a213e6246cc318
parent9d2232176bc505faeb4b7eb9485a855a97d4b867 (diff)
downloadFreeBSD-src-6568ceefafa0357db5797c3bc8f9c824501d671b.zip
FreeBSD-src-6568ceefafa0357db5797c3bc8f9c824501d671b.tar.gz
Remove bogus break statements.
Obtained from: DragonFly
-rw-r--r--sys/dev/ata/ata-lowlevel.c1
-rw-r--r--sys/dev/mly/mly.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index e6522c6..dd9cd5f 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -370,7 +370,6 @@ ata_end_transaction(struct ata_request *request)
"%s trying to write on read buffer\n",
ata_cmd2str(request));
goto end_finished;
- break;
}
ata_pio_write(request, length);
request->donecount += length;
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 826b89d..1f0a9e2 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1350,7 +1350,6 @@ mly_process_event(struct mly_softc *sc, struct mly_event *me)
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) &&
OpenPOWER on IntegriCloud