summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-20 05:12:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-20 05:12:40 +0000
commitf7aa910a77485f8f205e16933b94680427285272 (patch)
treee304e024e86cd89583e5722bc0aab0b7129979a6 /sys
parente01c5ca1dcefd9433af746faa62e7ef1ed4a25b8 (diff)
clean up cases of ;;
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ata/atascsi.c4
-rw-r--r--sys/dev/ic/isp.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c
index a4e60466714..46a7aae003e 100644
--- a/sys/dev/ata/atascsi.c
+++ b/sys/dev/ata/atascsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.c,v 1.97 2010/10/12 00:53:32 krw Exp $ */
+/* $OpenBSD: atascsi.c,v 1.98 2010/11/20 05:12:39 deraadt Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -783,7 +783,7 @@ atascsi_disk_write_same_16(struct scsi_xfer *xs)
}
xa->data = xs->data;
- xa->datalen = xs->datalen;;
+ xa->datalen = xs->datalen;
xa->flags = ATA_F_WRITE;
if (xs->flags & SCSI_POLL)
xa->flags |= ATA_F_POLL;
diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c
index 7881c2b53e7..0c2f9209cb7 100644
--- a/sys/dev/ic/isp.c
+++ b/sys/dev/ic/isp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp.c,v 1.49 2010/02/20 12:39:41 sobrado Exp $ */
+/* $OpenBSD: isp.c,v 1.50 2010/11/20 05:12:38 deraadt Exp $ */
/* $FreeBSD: src/sys/dev/isp/isp.c,v 1.150 2008/12/15 21:42:38 marius Exp $*/
/*-
* Copyright (c) 1997-2007 by Matthew Jacob
@@ -6162,8 +6162,8 @@ isp_mbox_continue(struct ispsoftc *isp)
ptr = isp->isp_mbxworkp;
switch (isp->isp_lastmbxcmd) {
case MBOX_WRITE_RAM_WORD:
- mbs.param[1] = isp->isp_mbxwrk1++;;
- mbs.param[2] = *ptr++;;
+ mbs.param[1] = isp->isp_mbxwrk1++;
+ mbs.param[2] = *ptr++;
break;
case MBOX_READ_RAM_WORD:
*ptr++ = isp->isp_mboxtmp[2];
@@ -6173,7 +6173,7 @@ isp_mbox_continue(struct ispsoftc *isp)
offset = isp->isp_mbxwrk1;
offset |= isp->isp_mbxwrk8 << 16;
- mbs.param[2] = *ptr++;;
+ mbs.param[2] = *ptr++;
mbs.param[1] = offset;
mbs.param[8] = offset >> 16;
isp->isp_mbxwrk1 = ++offset;