aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tws
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-01-16 06:00:44 +0000
committerXin LI <delphij@FreeBSD.org>2012-01-16 06:00:44 +0000
commitb8349441059329ab4682c37bc48d67a0c96fe63f (patch)
tree5280429bfbc7253b78daad283c945e89b2d7c559 /sys/dev/tws
parent89c570d28d1001902e99126908641411d030745d (diff)
Notes
Diffstat (limited to 'sys/dev/tws')
-rw-r--r--sys/dev/tws/tws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tws/tws.c b/sys/dev/tws/tws.c
index 2a2384a0c464..ba3b1505a42b 100644
--- a/sys/dev/tws/tws.c
+++ b/sys/dev/tws/tws.c
@@ -685,7 +685,7 @@ tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size)
{
if (bus_dmamap_create(sc->data_tag, 0, &sc->reqs[i].dma_map)) {
/* log a ENOMEM failure msg here */
- mtx_unlock(&sc->q_lock);
+ mtx_unlock(&sc->q_lock);
return(FAILURE);
}
sc->reqs[i].cmd_pkt = &cmd_buf[i];