Fix copy-paste bug in HMB free code.

MFC after:	2 weeks
X-MFC-with:	r356474
This commit is contained in:
mav 2020-01-08 18:26:23 +00:00
parent 6e18f895fa
commit ef8d51daa1

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];