diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-04-17 12:07:38 -0700 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-04-17 12:07:38 -0700 |
commit | f07af6458f9eb9b932112d12840039e321dac500 (patch) | |
tree | 470b44094638f8e520f527def56fc2e0464762b7 /libusb/libusbi.h | |
parent | 95b60dc3f5146a739911907ab452433b9bd8d6d7 (diff) | |
download | libusb-f07af6458f9eb9b932112d12840039e321dac500.tar.gz |
core: Remove usbi_parse_descriptor() function
The Linux backend was the only caller of this function, but with the
packed structures introduced in commit d06cc52851 its use is no longer
necessary. Convert the function to static and remove the return type as
no callers paid attention to it.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r-- | libusb/libusbi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h index 9622768..db9c919 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -620,8 +620,6 @@ int usbi_handle_transfer_completion(struct usbi_transfer *itransfer, int usbi_handle_transfer_cancellation(struct usbi_transfer *itransfer); void usbi_signal_transfer_completion(struct usbi_transfer *itransfer); -int usbi_parse_descriptor(const unsigned char *source, const char *descriptor, - void *dest, int host_endian); int usbi_device_cache_descriptor(libusb_device *dev); int usbi_get_config_index_by_value(struct libusb_device *dev, uint8_t bConfigurationValue, int *idx); |