Add missing braces
Reviewed by: swildner@dragonflybsd.org Reviewed by: delphij
This commit is contained in:
parent
fe06cae723
commit
772de24511
@ -1642,10 +1642,11 @@ static int hptiop_internal_memalloc_mv(struct hpt_iop_hba *hba)
|
||||
MVIOP_IOCTLCFG_SIZE,
|
||||
hptiop_mv_map_ctlcfg, hba, 0)) {
|
||||
device_printf(hba->pcidev, "bus_dmamap_load failed!\n");
|
||||
if (hba->ctlcfg_dmat)
|
||||
if (hba->ctlcfg_dmat) {
|
||||
bus_dmamem_free(hba->ctlcfg_dmat,
|
||||
hba->ctlcfg_ptr, hba->ctlcfg_dmamap);
|
||||
bus_dma_tag_destroy(hba->ctlcfg_dmat);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user