1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Add missing braces

Reviewed by:	swildner@dragonflybsd.org
Reviewed by:	delphij
This commit is contained in:
Eitan Adler 2013-04-30 23:36:45 +00:00
parent fe06cae723
commit 772de24511
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250123

View File

@ -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;
}