diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-05-30 20:01:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-05-30 20:01:30 +0000 |
commit | c0afed1c962ca1f5d2caea522e991d5956ee02a2 (patch) | |
tree | 957198bf9b0154516d67b4737c9c192b1c1286ce /sys/arch/hp300/dev/mb89352.c | |
parent | d2ff0f56cedf5f83fc27ec6a9d033b18e498913a (diff) |
Remove unused ACB_ALLOC define.
Diffstat (limited to 'sys/arch/hp300/dev/mb89352.c')
-rw-r--r-- | sys/arch/hp300/dev/mb89352.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c index a2f2884696a..cdbf3627463 100644 --- a/sys/arch/hp300/dev/mb89352.c +++ b/sys/arch/hp300/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.27 2011/04/25 12:40:52 miod Exp $ */ +/* $OpenBSD: mb89352.c,v 1.28 2011/05/30 20:01:29 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 */ @@ -350,10 +350,8 @@ spc_acb_alloc(void *xsc) mtx_enter(&sc->sc_acb_mtx); acb = TAILQ_FIRST(&sc->free_list); - if (acb) { + if (acb) TAILQ_REMOVE(&sc->free_list, acb, chain); - acb->flags |= ACB_ALLOC; - } mtx_leave(&sc->sc_acb_mtx); return acb; |