summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-12-25 23:02:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-12-25 23:02:27 +0000
commitf817c58ea799274eb832d25dc61acb5955f9b2d9 (patch)
treed81a72a842cf99a20e3b22543a17b8e53ad25961 /sys/arch/luna88k/dev
parentf1b1a2a9897fb5e4903d7922e7d05f99ad07b847 (diff)
Use list and queue macros where applicable to make the code easier to read;
no functional change.
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r--sys/arch/luna88k/dev/mb89352.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/mb89352.c b/sys/arch/luna88k/dev/mb89352.c
index 91cafd276c0..ea6b49ce89d 100644
--- a/sys/arch/luna88k/dev/mb89352.c
+++ b/sys/arch/luna88k/dev/mb89352.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mb89352.c,v 1.4 2004/08/11 06:09:32 miod Exp $ */
+/* $OpenBSD: mb89352.c,v 1.5 2004/12/25 23:02:24 miod Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
@@ -369,7 +369,7 @@ spc_free_acb(sc, acb, flags)
* If there were none, wake anybody waiting for one to come free,
* starting with queued entries.
*/
- if (acb->chain.tqe_next == 0)
+ if (TAILQ_NEXT(acb, chain) == NULL)
wakeup(&sc->free_list);
splx(s);