summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2012-04-11 13:29:15 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2012-04-11 13:29:15 +0000
commitc4b11c6425b366e92546365516f06e13de8c7f43 (patch)
tree1f95aeb19637291b2b2a1d66e525e7f519936e56 /sys/dev
parentd5290150086b92d9f526d7d6f699814291e74650 (diff)
SLIST_REMOVE_NEXT -> SLIST_REMOVE_AFTER for better consistency and
compatibility with FreeBSD/NetBSD. Also rename SIMPLEQ_REMOVE_NEXT to SIMPLEQ_REMOVE_AFTER. ok mikeb@ guenther@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 7e6843c31f4..322bfc26671 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.50 2011/11/03 20:08:49 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.51 2012/04/11 13:29:14 naddy Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
@@ -4592,7 +4592,7 @@ mpii_scsi_cmd_done(struct mpii_ccb *ccb)
else {
SIMPLEQ_FOREACH(tccb, &sc->sc_ccb_tmos, ccb_link) {
if (SIMPLEQ_NEXT(tccb, ccb_link) == ccb) {
- SIMPLEQ_REMOVE_NEXT(&sc->sc_ccb_tmos,
+ SIMPLEQ_REMOVE_AFTER(&sc->sc_ccb_tmos,
tccb, ccb_link);
break;
}