From 7c591251f4b453772c5304abafc8b31add427963 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Fri, 10 Jul 2020 13:26:43 +0000 Subject: Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API. ok dlg@ tobhe@ --- sys/dev/usb/if_wi_usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/if_wi_usb.c') diff --git a/sys/dev/usb/if_wi_usb.c b/sys/dev/usb/if_wi_usb.c index b0f1b65756c..b477bc1ff2f 100644 --- a/sys/dev/usb/if_wi_usb.c +++ b/sys/dev/usb/if_wi_usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_usb.c,v 1.71 2019/11/27 11:16:59 mpi Exp $ */ +/* $OpenBSD: if_wi_usb.c,v 1.72 2020/07/10 13:26:41 patrick Exp $ */ /* * Copyright (c) 2003 Dale Rahn. All rights reserved. @@ -1138,7 +1138,7 @@ wi_usb_txeof_frm(struct usbd_xfer *xfer, void *priv, wi_usb_tx_unlock(sc); - if (!IFQ_IS_EMPTY(&ifp->if_snd)) + if (!ifq_empty(&ifp->if_snd)) wi_start_usb(ifp); splx(s); -- cgit v1.2.3