diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c index 0135d07268..094a838d3b 100644 --- a/lib/nvmf/rdma.c +++ b/lib/nvmf/rdma.c @@ -193,9 +193,6 @@ spdk_nvmf_rdma_conn_destroy(struct spdk_nvmf_rdma_conn *rdma_conn) if (rdma_conn->cm_id) { rdma_destroy_qp(rdma_conn->cm_id); - } - - if (rdma_conn->cm_id) { rdma_destroy_id(rdma_conn->cm_id); }