diff --git a/include/spdk/nvmf_transport.h b/include/spdk/nvmf_transport.h index 30a4ea62be..e3d6e75e5f 100644 --- a/include/spdk/nvmf_transport.h +++ b/include/spdk/nvmf_transport.h @@ -119,7 +119,6 @@ struct spdk_nvmf_qpair { struct spdk_nvmf_transport *transport; struct spdk_nvmf_ctrlr *ctrlr; struct spdk_nvmf_poll_group *group; - const struct spdk_nvme_transport_id *trid; uint16_t qid; uint16_t sq_head; diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c index b35ed70d1b..2edcb99e33 100644 --- a/lib/nvmf/rdma.c +++ b/lib/nvmf/rdma.c @@ -1319,7 +1319,6 @@ nvmf_rdma_connect(struct spdk_nvmf_transport *transport, struct rdma_cm_event *e rqpair->cm_id = event->id; rqpair->listen_id = event->listen_id; rqpair->qpair.transport = transport; - rqpair->qpair.trid = port->trid; STAILQ_INIT(&rqpair->ibv_events); /* use qid from the private data to determine the qpair type qid will be set to the appropriate value when the controller is created */ diff --git a/lib/nvmf/tcp.c b/lib/nvmf/tcp.c index 4b30196f84..7e2707f575 100644 --- a/lib/nvmf/tcp.c +++ b/lib/nvmf/tcp.c @@ -966,7 +966,6 @@ nvmf_tcp_handle_connect(struct spdk_nvmf_transport *transport, tqpair->state_cntr[TCP_REQUEST_STATE_FREE] = 0; tqpair->port = port; tqpair->qpair.transport = transport; - tqpair->qpair.trid = port->trid; rc = spdk_sock_getaddr(tqpair->sock, tqpair->target_addr, sizeof(tqpair->target_addr), &tqpair->target_port,