diff options
author | 2013-04-09 08:42:48 +0000 | |
---|---|---|
committer | 2013-04-09 08:42:48 +0000 | |
commit | 8cb63a7ae8975c7d99e84cc798592c497b30fe2e (patch) | |
tree | 3c60a034a0748c21b93b95307f748bdfef292a70 /sys/dev/usb/usbdi_util.h | |
parent | Remove read-only ipsec variables and directly use defines instead. (diff) | |
download | wireguard-openbsd-8cb63a7ae8975c7d99e84cc798592c497b30fe2e.tar.xz wireguard-openbsd-8cb63a7ae8975c7d99e84cc798592c497b30fe2e.zip |
There's no need for usbd_get_config_desc_full() so just call usbd_get_desc()
directly this also makes it easier to understand which function actually
generates IO.
ok mglocker@
Diffstat (limited to 'sys/dev/usb/usbdi_util.h')
-rw-r--r-- | sys/dev/usb/usbdi_util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi_util.h b/sys/dev/usb/usbdi_util.h index b399acc47c7..c653c6c4342 100644 --- a/sys/dev/usb/usbdi_util.h +++ b/sys/dev/usb/usbdi_util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi_util.h,v 1.17 2008/06/26 05:42:19 ray Exp $ */ +/* $OpenBSD: usbdi_util.h,v 1.18 2013/04/09 08:42:48 mpi Exp $ */ /* $NetBSD: usbdi_util.h,v 1.28 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi_util.h,v 1.9 1999/11/17 22:33:50 n_hibma Exp $ */ @@ -36,7 +36,6 @@ usbd_status usbd_get_desc(usbd_device_handle dev, int type, int index, int len, void *desc); usbd_status usbd_get_config_desc(usbd_device_handle, int, usb_config_descriptor_t *); -usbd_status usbd_get_config_desc_full(usbd_device_handle, int, void *, int); usbd_status usbd_get_device_desc(usbd_device_handle dev, usb_device_descriptor_t *d); usbd_status usbd_set_address(usbd_device_handle dev, int addr); |