Fix copy-paste bug in HMB free code.

MFC after:	2 weeks
X-MFC-with:	r356474
This commit is contained in:
Alexander Motin 2020-01-08 18:26:23 +00:00
parent 4cee74df63
commit b2cdfb72f4

View File

@ -854,7 +854,7 @@ nvme_ctrlr_hmb_free(struct nvme_controller *ctrlr)
}
if (ctrlr->hmb_desc_tag) {
bus_dma_tag_destroy(ctrlr->hmb_desc_tag);
ctrlr->hmb_tag = NULL;
ctrlr->hmb_desc_tag = NULL;
}
for (i = 0; i < ctrlr->hmb_nchunks; i++) {
hmbc = &ctrlr->hmb_chunks[i];