nvmf: Remove is_valid from session

Unused.

Change-Id: I992d4cea9b03f6dfe923f4d5ebc4c467d4ab01e5
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Ben Walker 2016-07-07 16:17:24 -07:00
parent d028fb6956
commit a644cacb56
2 changed files with 0 additions and 2 deletions

View File

@ -197,7 +197,6 @@ nvmf_create_session(const char *subnqn)
session->cntlid);
TAILQ_INIT(&session->connections);
session->num_connections = 0;
session->is_valid = 1;
session->subsys = subsystem;
session->max_connections_allowed = g_nvmf_tgt.MaxConnectionsPerSession;

View File

@ -56,7 +56,6 @@ struct nvmf_session {
uint16_t cntlid;
uint32_t max_io_queues; /* maximum supported by backend NVMe library */
int active_queues;
int is_valid;
struct {
union spdk_nvme_cap_register cap;
union spdk_nvme_vs_register vs;