nvme: Don't add discovery controller to attached_ctrlrs list.

Change-Id: I214b9291cc8f54928bdeb6f078d473661edfebfc
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Ben Walker 2016-11-23 13:33:53 -07:00
parent 03f84b5bbf
commit aa3d7381cc

View File

@ -1158,7 +1158,6 @@ nvme_rdma_ctrlr_scan(enum spdk_nvme_transport transport,
return -1;
}
TAILQ_INSERT_TAIL(&g_spdk_nvme_driver->attached_ctrlrs, discovery_ctrlr, tailq);
rc = nvme_fabrics_get_log_discovery_page(discovery_ctrlr, buffer);
if (rc < 0) {
SPDK_ERRLOG("nvme_fabrics_get_log_discovery_page error\n");