summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-03-20 16:15:45 +0000
committerEd Maste <emaste@FreeBSD.org>2020-03-20 16:15:45 +0000
commit37096740726c2608ad980e68d9afc4725b82fd8b (patch)
treec9c19e93a0fc103bc579908f3ab3a96057a372fa
parentfd7260ad2f3b23e293d944d397bf036b059178b2 (diff)
Notes
-rw-r--r--sys/cam/ctl/ctl.c2
-rw-r--r--sys/cam/scsi/scsi_all.c2
-rw-r--r--sys/cam/scsi/scsi_da.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 8a6e453bb3086..a3b662afc3f2b 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -13265,7 +13265,7 @@ ctl_done_timer_wakeup(void *arg)
void
ctl_serseq_done(union ctl_io *io)
{
- struct ctl_lun *lun = CTL_LUN(io);;
+ struct ctl_lun *lun = CTL_LUN(io);
if (lun->be_lun == NULL ||
lun->be_lun->serseq == CTL_LUN_SERSEQ_OFF)
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index 86b0ade223e14..79ac6a0a37045 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -7112,7 +7112,7 @@ scsi_attrib_vendser_sbuf(struct sbuf *sb, struct scsi_mam_attribute_header *hdr,
case SCSI_ATTR_OUTPUT_NONASCII_ESC:
default:
strvis_flags = CAM_STRVIS_FLAG_NONASCII_ESC;
- break;;
+ break;
}
cam_strvis_sbuf(sb, vendser->vendor, sizeof(vendser->vendor),
strvis_flags);
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index be8afe7cd1220..ca515442042dd 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -3973,7 +3973,7 @@ out:
static void
da_delete_unmap(struct cam_periph *periph, union ccb *ccb, struct bio *bp)
{
- struct da_softc *softc = (struct da_softc *)periph->softc;;
+ struct da_softc *softc = (struct da_softc *)periph->softc;
struct bio *bp1;
uint8_t *buf = softc->unmap_buf;
struct scsi_unmap_desc *d = (void *)&buf[UNMAP_HEAD_SIZE];