svn commit: r295476 - in head/sys: cam/ctl dev/iscsi

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Feb 10 17:55:41 UTC 2016


Author: trasz
Date: Wed Feb 10 17:55:39 2016
New Revision: 295476
URL: https://svnweb.freebsd.org/changeset/base/295476

Log:
  Remove stray semicolons from the iSCSI code.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/cam/ctl/ctl.c
  head/sys/dev/iscsi/iscsi.h

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c	Wed Feb 10 17:49:22 2016	(r295475)
+++ head/sys/cam/ctl/ctl.c	Wed Feb 10 17:55:39 2016	(r295476)
@@ -5694,7 +5694,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;
@@ -5742,7 +5742,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;

Modified: head/sys/dev/iscsi/iscsi.h
==============================================================================
--- head/sys/dev/iscsi/iscsi.h	Wed Feb 10 17:49:22 2016	(r295475)
+++ head/sys/dev/iscsi/iscsi.h	Wed Feb 10 17:55:39 2016	(r295476)
@@ -119,7 +119,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
 };


More information about the svn-src-head mailing list