summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdivar.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-03-21 12:08:31 +0000
committerpatrick <patrick@openbsd.org>2020-03-21 12:08:31 +0000
commitc28d999fb593957e511be1c7c486eed1cb0f077b (patch)
treee92620bb5af0f2bd04baafa66179def1f90cfbd8 /sys/dev/usb/usbdivar.h
parentdrm/amd/display: remove duplicated assignment to grph_obj_type (diff)
downloadwireguard-openbsd-c28d999fb593957e511be1c7c486eed1cb0f077b.tar.xz
wireguard-openbsd-c28d999fb593957e511be1c7c486eed1cb0f077b.zip
Instead of passing the flags as part of a struct that's supposed to be
filled by the callee, change the usb_allocmem() API to take another argument for the flags. ok mpi@
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r--sys/dev/usb/usbdivar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 448aab4dcb8..5aa207818f7 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdivar.h,v 1.80 2020/03/19 14:18:38 patrick Exp $ */
+/* $OpenBSD: usbdivar.h,v 1.81 2020/03/21 12:08:31 patrick Exp $ */
/* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */
@@ -47,7 +47,6 @@ struct usb_dma_block;
struct usb_dma {
struct usb_dma_block *block;
u_int offs;
- int flags;
#define USB_DMA_COHERENT (1 << 0)
};