iscsi: fix unused variable warning in release build
Change-Id: I9ef2365a66cd582c4016c081f04ef0a4e8d9109a Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
fb08791096
commit
56517c7236
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user