svn commit: r288692 - stable/10/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Mon Oct 5 06:55:27 UTC 2015


Author: mav
Date: Mon Oct  5 06:55:26 2015
New Revision: 288692
URL: https://svnweb.freebsd.org/changeset/base/288692

Log:
  MFC r269709 (by imp): is_full_id is set to 0 and then not used. remove it.

Modified:
  stable/10/sys/cam/scsi/scsi_all.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/scsi/scsi_all.c
==============================================================================
--- stable/10/sys/cam/scsi/scsi_all.c	Mon Oct  5 06:40:09 2015	(r288691)
+++ stable/10/sys/cam/scsi/scsi_all.c	Mon Oct  5 06:55:26 2015	(r288692)
@@ -6071,13 +6071,12 @@ scsi_parse_transportid_iscsi(char *id_st
 			     char *error_str, int error_str_len)
 {
 	size_t id_len, sep_len, id_size, name_len;
-	int is_full_id, retval;
+	int retval;
 	unsigned int i, sep_pos, sep_found;
 	const char *sep_template = ",i,0x";
 	const char *iqn_prefix = "iqn.";
 	struct scsi_transportid_iscsi_device *iscsi;
 
-	is_full_id = 0;
 	retval = 0;
 	sep_found = 0;
 


More information about the svn-src-all mailing list