Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 15:02:03 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261712 - head/usr.bin/iscsictl
Message-ID:  <201402101502.s1AF232T072322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Feb 10 15:02:02 2014
New Revision: 261712
URL: http://svnweb.freebsd.org/changeset/base/261712

Log:
  Remove unused variable.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.bin/iscsictl/iscsictl.c

Modified: head/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- head/usr.bin/iscsictl/iscsictl.c	Mon Feb 10 15:01:24 2014	(r261711)
+++ head/usr.bin/iscsictl/iscsictl.c	Mon Feb 10 15:02:02 2014	(r261712)
@@ -381,7 +381,6 @@ kernel_list(int iscsi_fd, const struct t
 	struct iscsi_session_list isl;
 	unsigned int i, nentries = 1;
 	int error;
-	bool show_periphs;
 
 	for (;;) {
 		states = realloc(states,
@@ -455,7 +454,6 @@ kernel_list(int iscsi_fd, const struct t
 		for (i = 0; i < isl.isl_nentries; i++) {
 			state = &states[i];
 			conf = &state->iss_conf;
-			show_periphs = false;
 
 			printf("%-36s %-16s ",
 			    conf->isc_target, conf->isc_target_addr);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402101502.s1AF232T072322>