nvmf: Remove is_valid from session
Unused. Change-Id: I992d4cea9b03f6dfe923f4d5ebc4c467d4ab01e5 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
d028fb6956
commit
a644cacb56
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user