summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/isp_openbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/isp_openbsd.c b/sys/dev/ic/isp_openbsd.c
index 8062cc9e968..5ae1db210c2 100644
--- a/sys/dev/ic/isp_openbsd.c
+++ b/sys/dev/ic/isp_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_openbsd.c,v 1.42 2010/03/23 01:57:19 krw Exp $ */
+/* $OpenBSD: isp_openbsd.c,v 1.43 2010/03/27 02:06:03 krw Exp $ */
/*
* Platform (OpenBSD) dependent common attachment code for QLogic adapters.
*
@@ -395,14 +395,14 @@ isp_polled_cmd(struct ispsoftc *isp, XS_T *xs)
switch (result) {
case CMD_QUEUED:
- return;
+ break;
case CMD_RQLATER:
case CMD_EAGAIN:
xs->error = XS_NO_CCB;
/* FALLTHROUGH */
case CMD_COMPLETE:
scsi_done(xs);
- break;
+ return;
}
/*