summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2017-08-11 14:59:44 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2017-08-11 14:59:44 +0000
commitb4a4f654d8a6f8e99de331e623b9f918263d0a68 (patch)
tree853d265fc33136be2f2f0a516fe6fd4bd0c6b38f /sys/dev/atapiscsi
parentf4e016b9f2e2e872e1374a2bee46c62e96dd10e5 (diff)
Missing break/return statement on switch case
Coverity CID 1453394 OK deraadt@
Diffstat (limited to 'sys/dev/atapiscsi')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index df5c45b13d4..bf3cd1161b4 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.103 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.104 2017/08/11 14:59:43 mestre Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -1237,6 +1237,8 @@ wdc_atapi_pio_intr(struct channel_softc *chp, struct wdc_xfer *xfer,
return;
}
+ return;
+
case as_completed:
if ((chp->ch_status & WDCS_DRQ) ||
(ireason & 3) != 3) {