nvmf/conf: remove dead store of num_hosts

Change-Id: I0e129f1102f8a5925626fbeed3a5bf2341873874
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-02-24 16:13:47 -07:00
parent 0ccb72c6da
commit affd815c0e

View File

@ -373,7 +373,6 @@ spdk_nvmf_parse_subsystem(struct spdk_conf_section *sp)
}
/* Parse Host sections */
num_hosts = 0;
for (i = 0; i < MAX_HOSTS; i++) {
hosts[i] = spdk_conf_section_get_nval(sp, "Host", i);
if (!hosts[i]) {