diff options
author | 2013-10-19 08:29:30 +0000 | |
---|---|---|
committer | 2013-10-19 08:29:30 +0000 | |
commit | 498a57ab708bb298ce7de81a087bf778664ed726 (patch) | |
tree | dcf4e5d731244566d4d82832fe89ed715033c031 /sys/dev/usb/usbdivar.h | |
parent | don't silence stderr from pkg_add when running in verbose mode (diff) | |
download | wireguard-openbsd-498a57ab708bb298ce7de81a087bf778664ed726.tar.xz wireguard-openbsd-498a57ab708bb298ce7de81a087bf778664ed726.zip |
Make uhub_explore() return an int rather than a usbd_satus. This has
no direct impact since its return value is never checked but it allows
me to get rid of one (usless) status value.
Note that usbd_status should be used for USB transfers.
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r-- | sys/dev/usb/usbdivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index e8e739abd68..34428f10727 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdivar.h,v 1.51 2013/08/13 09:26:05 mpi Exp $ */ +/* $OpenBSD: usbdivar.h,v 1.52 2013/10/19 08:29:30 mpi 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 $ */ @@ -84,7 +84,7 @@ struct usbd_port { }; struct usbd_hub { - usbd_status (*explore)(struct usbd_device *hub); + int (*explore)(struct usbd_device *hub); void *hubsoftc; usb_hub_descriptor_t hubdesc; struct usbd_port *ports; |