Fix copy-paste bug in HMB free code.
MFC after: 2 weeks X-MFC-with: r356474
This commit is contained in:
parent
4cee74df63
commit
b2cdfb72f4
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user