summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-04-05 19:52:02 +0000
committerkrw <krw@openbsd.org>2011-04-05 19:52:02 +0000
commite13e110e32d23275d7b5a1f2819e1b6e8ff95bbe (patch)
tree04025863d078c75fc76262b20cf86bca7f2e8f89 /sys/dev/softraid_raid0.c
parentAdd a flag to cmd_find_session so that attach-session can prefer (diff)
downloadwireguard-openbsd-e13e110e32d23275d7b5a1f2819e1b6e8ff95bbe.tar.xz
wireguard-openbsd-e13e110e32d23275d7b5a1f2819e1b6e8ff95bbe.zip
Iopoolification. Testing by marco@.
ok dlg@ marco@
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r--sys/dev/softraid_raid0.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c
index f8473a876e6..5f2bcc0c35e 100644
--- a/sys/dev/softraid_raid0.c
+++ b/sys/dev/softraid_raid0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid0.c,v 1.22 2010/07/02 09:20:26 jsing Exp $ */
+/* $OpenBSD: softraid_raid0.c,v 1.23 2011/04/05 19:52:02 krw Exp $ */
/*
* Copyright (c) 2008 Marco Peereboom <marco@peereboom.us>
*
@@ -456,8 +456,6 @@ sr_raid0_intr(struct buf *bp)
printf("%s: wu: %p not on pending queue\n",
DEVNAME(sc), wu);
- /* do not change the order of these 2 functions */
- sr_wu_put(wu);
sr_scsi_done(sd, xs);
if (sd->sd_sync && sd->sd_wu_pending == 0)
@@ -468,7 +466,6 @@ sr_raid0_intr(struct buf *bp)
return;
bad:
xs->error = XS_DRIVER_STUFFUP;
- sr_wu_put(wu);
sr_scsi_done(sd, xs);
splx(s);
}