aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2013-02-21 17:50:21 +0000
committerWarner Losh <imp@FreeBSD.org>2013-02-21 17:50:21 +0000
commite7599006fa4d05813faabe5323af376ca23fdfff (patch)
treeafffea7e7281bb6be43d9feffe4593fdc381e7e5 /sys/dev/firewire
parent664b97eff580cca7aa435161b8aa7fa8a6f667f2 (diff)
Notes
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/sbp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 8089d99fa03df..5efc5eb377b45 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -2488,16 +2488,14 @@ printf("ORB %08x %08x %08x %08x\n", ntohl(ocb->orb[0]), ntohl(ocb->orb[1]), ntoh
printf("ORB %08x %08x %08x %08x\n", ntohl(ocb->orb[4]), ntohl(ocb->orb[5]), ntohl(ocb->orb[6]), ntohl(ocb->orb[7]));
*/
if (ccb->csio.dxfer_len > 0) {
- int s, error;
+ int error;
- s = splsoftvm();
error = bus_dmamap_load_ccb(/*dma tag*/sbp->dmat,
/*dma map*/ocb->dmamap,
ccb,
sbp_execute_ocb,
ocb,
/*flags*/0);
- splx(s);
if (error)
printf("sbp: bus_dmamap_load error %d\n", error);
} else