diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 16:59:33 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 16:59:33 +0000 |
commit | 5f1fa125235e4cbb1e0d78240a58a1e299f4461d (patch) | |
tree | 71c6fd5dfbe147194a797e87fc2970f9bda72483 /sys/dev/pci/noct.c | |
parent | 6e299f764a11dc2a46750e52d5ed7352cd87e7a7 (diff) |
Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well.
ok millert krw deraadt
Diffstat (limited to 'sys/dev/pci/noct.c')
-rw-r--r-- | sys/dev/pci/noct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/noct.c b/sys/dev/pci/noct.c index c7b9e9df94c..64298a7a915 100644 --- a/sys/dev/pci/noct.c +++ b/sys/dev/pci/noct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: noct.c,v 1.15 2004/02/03 17:17:33 deraadt Exp $ */ +/* $OpenBSD: noct.c,v 1.16 2004/05/04 16:59:31 grange Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -897,7 +897,7 @@ noct_ea_thread(vsc) s = splnet(); while (!SIMPLEQ_EMPTY(&sc->sc_outq)) { q = SIMPLEQ_FIRST(&sc->sc_outq); - SIMPLEQ_REMOVE_HEAD(&sc->sc_outq, q, q_next); + SIMPLEQ_REMOVE_HEAD(&sc->sc_outq, q_next); splx(s); crp = q->q_crp; @@ -954,7 +954,7 @@ noct_ea_thread(vsc) s = splnet(); while (!SIMPLEQ_EMPTY(&sc->sc_inq)) { q = SIMPLEQ_FIRST(&sc->sc_inq); - SIMPLEQ_REMOVE_HEAD(&sc->sc_inq, q, q_next); + SIMPLEQ_REMOVE_HEAD(&sc->sc_inq, q_next); splx(s); noct_ea_start(sc, q); @@ -1296,7 +1296,7 @@ noct_ea_intr(sc) if (SIMPLEQ_EMPTY(&sc->sc_chipq)) panic("%s: empty chipq", sc->sc_dv.dv_xname); q = SIMPLEQ_FIRST(&sc->sc_chipq); - SIMPLEQ_REMOVE_HEAD(&sc->sc_chipq, q, q_next); + SIMPLEQ_REMOVE_HEAD(&sc->sc_chipq, q_next); SIMPLEQ_INSERT_TAIL(&sc->sc_outq, q, q_next); bus_dmamap_sync(sc->sc_dmat, sc->sc_eamap, |