From owner-svn-src-head@FreeBSD.ORG Fri Aug 8 11:46:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 843FBFBE for ; Fri, 8 Aug 2014 11:46:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 551902659 for ; Fri, 8 Aug 2014 11:46:46 +0000 (UTC) Received: from imp (uid 547) (envelope-from imp@FreeBSD.org) id 23a2 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Fri, 08 Aug 2014 11:46:46 +0000 From: Warner Losh Date: Fri, 8 Aug 2014 11:46:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269709 - head/sys/cam/scsi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e4b8a6.23a2.31680d8f@svn.freebsd.org> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 11:46:46 -0000 Author: imp Date: Fri Aug 8 11:46:45 2014 New Revision: 269709 URL: http://svnweb.freebsd.org/changeset/base/269709 Log: is_full_id is set to 0 and then not used. remove it. Modified: head/sys/cam/scsi/scsi_all.c Modified: head/sys/cam/scsi/scsi_all.c ============================================================================== --- head/sys/cam/scsi/scsi_all.c Fri Aug 8 11:39:05 2014 (r269708) +++ head/sys/cam/scsi/scsi_all.c Fri Aug 8 11:46:45 2014 (r269709) @@ -6064,13 +6064,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;