From 5b030d1389281e55147702f5fd25478d512a0fd2 Mon Sep 17 00:00:00 2001 From: delphij Date: Thu, 30 May 2013 21:49:43 +0000 Subject: [PATCH] MFC r250050: Add missing braces. Submitted by: Sascha Wildner Obtained from: DragonFly git-svn-id: svn://svn.freebsd.org/base/stable/9@251162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/hptiop/hptiop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index c4e3d5a5d..bd3af6d48 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; } -- 2.45.0