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/ises.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/ises.c')
-rw-r--r-- | sys/dev/pci/ises.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ises.c b/sys/dev/pci/ises.c index caf85c3ccc3..40cb6f8d7f1 100644 --- a/sys/dev/pci/ises.c +++ b/sys/dev/pci/ises.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ises.c,v 1.24 2003/06/07 11:31:24 ho Exp $ */ +/* $OpenBSD: ises.c,v 1.25 2004/05/04 16:59:31 grange Exp $ */ /* * Copyright (c) 2000, 2001 Håkan Olsson (ho@crt.se) @@ -608,7 +608,7 @@ ises_process_oqueue(struct ises_softc *sc) s = splnet(); if (!SIMPLEQ_EMPTY(&sc->sc_cmdq)) { cq = SIMPLEQ_FIRST(&sc->sc_cmdq); - SIMPLEQ_REMOVE_HEAD(&sc->sc_cmdq, cq, cmd_next); + SIMPLEQ_REMOVE_HEAD(&sc->sc_cmdq, cmd_next); cq->cmd_rlen = len; } else { cq = NULL; @@ -882,7 +882,7 @@ ises_feed(struct ises_softc *sc) DELAY(2000000); s = splnet(); - SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, q, q_next); + SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, q_next); SIMPLEQ_INSERT_TAIL(&sc->sc_qchip, q, q_next); --sc->sc_nqueue; splx(s); |