summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-07-10 13:26:36 +0000
committerpatrick <patrick@openbsd.org>2020-07-10 13:26:36 +0000
commit0cae21bd7dc539ce7833e6c95a4e4259d9044374 (patch)
tree655429ae55a3e2d9c5289fdd7ad3dae7ad921d55 /sys/dev/isa/if_ex.c
parentChange users of IFQ_PURGE() to use the "new" API. (diff)
downloadwireguard-openbsd-0cae21bd7dc539ce7833e6c95a4e4259d9044374.tar.xz
wireguard-openbsd-0cae21bd7dc539ce7833e6c95a4e4259d9044374.zip
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r--sys/dev/isa/if_ex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 04f90e46213..88249fe0516 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.46 2017/06/04 20:28:05 naddy Exp $ */
+/* $OpenBSD: if_ex.c,v 1.47 2020/07/10 13:26:37 patrick Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -590,7 +590,7 @@ ex_intr(void *arg)
* be sent, attempt to send more packets to the network card.
*/
- if (send_pkts && IFQ_IS_EMPTY(&ifp->if_snd) == 0)
+ if (send_pkts && ifq_empty(&ifp->if_snd) == 0)
ex_start(ifp);
#ifdef EX_DEBUG
exintr_count--;