diff options
author | delphij <delphij@FreeBSD.org> | 2013-04-29 17:00:26 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-04-29 17:00:26 +0000 |
commit | 82690df1c882c70d04ebbdbbcf1c402c538c3825 (patch) | |
tree | 2574f09c1505b348bef8c428b43779d40f5c6eb4 /sys/dev/hptiop | |
parent | c452d7eb5d2237263020c50cd8346012b075613d (diff) | |
download | FreeBSD-src-82690df1c882c70d04ebbdbbcf1c402c538c3825.zip FreeBSD-src-82690df1c882c70d04ebbdbbcf1c402c538c3825.tar.gz |
Add missing braces.
Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly
MFC after: 1 week
Diffstat (limited to 'sys/dev/hptiop')
-rw-r--r-- | sys/dev/hptiop/hptiop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index d7a17c8..83f72c2 100644 --- a/sys/dev/hptiop/hptiop.c +++ b/sys/dev/hptiop/hptiop.c @@ -1704,10 +1704,11 @@ static int hptiop_internal_memalloc_mvfrey(struct hpt_iop_hba *hba) hba->u.mvfrey.internal_mem_size, hptiop_mvfrey_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; } |