From b7cdc564acad0823940e636e54af251f985f7a4f Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 8 Aug 2014 11:46:45 +0000 Subject: [PATCH] is_full_id is set to 0 and then not used. remove it. --- sys/cam/scsi/scsi_all.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index cef2c51f889..d61d4522163 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -6064,13 +6064,12 @@ scsi_parse_transportid_iscsi(char *id_str, struct scsi_transportid_header **hdr, 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;