Commit 56517c72 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

iscsi: fix unused variable warning in release build



Change-Id: I9ef2365a66cd582c4016c081f04ef0a4e8d9109a
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent fb087910
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -368,10 +368,9 @@ spdk_iscsi_portal_grp_create_from_configfile(struct spdk_conf_section *sp)
	const char *val;
	char *label, *portal;
	int portals = 0, i = 0, rc = 0;
	int tag = spdk_conf_section_get_num(sp);

	SPDK_TRACELOG(SPDK_TRACE_DEBUG, "add portal group (from config file) %d\n",
		      tag);
		      spdk_conf_section_get_num(sp));

	val = spdk_conf_section_get_val(sp, "Comment");
	if (val != NULL) {
@@ -426,7 +425,7 @@ spdk_iscsi_portal_grp_create_from_configfile(struct spdk_conf_section *sp)

		SPDK_TRACELOG(SPDK_TRACE_DEBUG,
			      "RIndex=%d, Host=%s, Port=%s, Tag=%d\n",
			      i, p->host, p->port, tag);
			      i, p->host, p->port, spdk_conf_section_get_num(sp));

		spdk_iscsi_portal_grp_add_portal(pg, p);
	}