diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
commit | 2ab8b96a9014558910b5e8b263ec8b87d01091ba (patch) | |
tree | 1cf4de4370435485a8c5e39ae8a862033ac128b1 /sys/dev/sbus | |
parent | 59b2589d33b260697d1e3b750d952a5aaa2953fc (diff) |
Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r-- | sys/dev/sbus/be.c | 4 | ||||
-rw-r--r-- | sys/dev/sbus/qe.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c index 97d51e70966..0569de5410c 100644 --- a/sys/dev/sbus/be.c +++ b/sys/dev/sbus/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.42 2017/01/22 10:17:39 dlg Exp $ */ +/* $OpenBSD: be.c,v 1.43 2020/07/10 13:22:21 patrick Exp $ */ /* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */ /*- @@ -574,7 +574,7 @@ bestart(struct ifnet *ifp) bix = sc->sc_rb.rb_tdhead; for (;;) { - IFQ_DEQUEUE(&ifp->if_snd, m); + m = ifq_dequeue(&ifp->if_snd); if (m == NULL) break; diff --git a/sys/dev/sbus/qe.c b/sys/dev/sbus/qe.c index ca02307368f..982fe4207f6 100644 --- a/sys/dev/sbus/qe.c +++ b/sys/dev/sbus/qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qe.c,v 1.40 2017/01/22 10:17:39 dlg Exp $ */ +/* $OpenBSD: qe.c,v 1.41 2020/07/10 13:22:21 patrick Exp $ */ /* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */ /*- @@ -446,7 +446,7 @@ qestart(ifp) bix = sc->sc_rb.rb_tdhead; for (;;) { - IFQ_DEQUEUE(&ifp->if_snd, m); + m = ifq_dequeue(&ifp->if_snd); if (m == NULL) break; |