summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r--sys/dev/sbus/be.c4
-rw-r--r--sys/dev/sbus/qe.c4
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;