summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-01-05 11:17:09 +0000
committermav <mav@FreeBSD.org>2017-01-05 11:17:09 +0000
commita6b57eca4dcc49f922dc20786114db2106441483 (patch)
treea190da197f4debcd1955543562c3675fc2b4f283
parent332ce770ba3f7c8a87e997d5f1f1c4c6dfdc9d8c (diff)
downloadFreeBSD-src-a6b57eca4dcc49f922dc20786114db2106441483.zip
FreeBSD-src-a6b57eca4dcc49f922dc20786114db2106441483.tar.gz
MFC r295476 (by trasz): Remove stray semicolons from the iSCSI code.
-rw-r--r--sys/cam/ctl/ctl.c4
-rw-r--r--sys/dev/iscsi/iscsi.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index e5c12c1..dc80439 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -5699,7 +5699,7 @@ ctl_write_same(struct ctl_scsiio *ctsio)
*/
if ((byte2 & SWS_NDOB) == 0 &&
(ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
- ctsio->kern_data_ptr = malloc(len, M_CTL, M_WAITOK);;
+ ctsio->kern_data_ptr = malloc(len, M_CTL, M_WAITOK);
ctsio->kern_data_len = len;
ctsio->kern_total_len = len;
ctsio->kern_data_resid = 0;
@@ -5747,7 +5747,7 @@ ctl_unmap(struct ctl_scsiio *ctsio)
* malloc it and tell the caller the data buffer is here.
*/
if ((ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
- ctsio->kern_data_ptr = malloc(len, M_CTL, M_WAITOK);;
+ ctsio->kern_data_ptr = malloc(len, M_CTL, M_WAITOK);
ctsio->kern_data_len = len;
ctsio->kern_total_len = len;
ctsio->kern_data_resid = 0;
diff --git a/sys/dev/iscsi/iscsi.h b/sys/dev/iscsi/iscsi.h
index 11ecc42..ec15b56 100644
--- a/sys/dev/iscsi/iscsi.h
+++ b/sys/dev/iscsi/iscsi.h
@@ -118,7 +118,7 @@ struct iscsi_session {
char is_reason[ISCSI_REASON_LEN];
#ifdef ICL_KERNEL_PROXY
- struct cv is_login_cv;;
+ struct cv is_login_cv;
struct icl_pdu *is_login_pdu;
#endif
};
OpenPOWER on IntegriCloud