summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2014-09-13 16:06:38 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2014-09-13 16:06:38 +0000
commitea858dabe0f76712b2416cf2288222c8cbba5028 (patch)
tree329401494d1f8b23d1f11679cf89acb4ae8c0e77 /sys/arch/vax
parentbeb9041963b2a9e31afc7ab688f1da1a386cbf9c (diff)
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/bus_dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/bus_dma.c b/sys/arch/vax/vax/bus_dma.c
index edb6a74f612..76f8c39873c 100644
--- a/sys/arch/vax/vax/bus_dma.c
+++ b/sys/arch/vax/vax/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.29 2014/07/12 18:44:43 tedu Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.30 2014/09/13 16:06:37 doug Exp $ */
/* $NetBSD: bus_dma.c,v 1.5 1999/11/13 00:32:20 thorpej Exp $ */
/*-
@@ -727,7 +727,7 @@ _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, nsegs, rsegs,
#endif /* DEBUG_DMA */
m = TAILQ_NEXT(m, pageq);
- for (; m != TAILQ_END(&mlist); m = TAILQ_NEXT(m, pageq)) {
+ for (; m != NULL; m = TAILQ_NEXT(m, pageq)) {
curaddr = VM_PAGE_TO_PHYS(m);
#ifdef DIAGNOSTIC
if (curaddr < low || curaddr >= high) {