aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb20_ugen20.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb/libusb20_ugen20.c')
-rw-r--r--lib/libusb/libusb20_ugen20.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c
index 219e6e7e0769..f130b1f86dbc 100644
--- a/lib/libusb/libusb20_ugen20.c
+++ b/lib/libusb/libusb20_ugen20.c
@@ -67,8 +67,6 @@ const struct libusb20_backend_methods libusb20_ugen20_backend = {
static libusb20_get_config_desc_full_t ugen20_get_config_desc_full;
static libusb20_get_config_index_t ugen20_get_config_index;
static libusb20_set_config_index_t ugen20_set_config_index;
-static libusb20_claim_interface_t ugen20_claim_interface;
-static libusb20_release_interface_t ugen20_release_interface;
static libusb20_set_alt_index_t ugen20_set_alt_index;
static libusb20_reset_device_t ugen20_reset_device;
static libusb20_set_power_mode_t ugen20_set_power_mode;
@@ -517,28 +515,6 @@ ugen20_set_config_index(struct libusb20_device *pdev, uint8_t cfg_index)
}
static int
-ugen20_claim_interface(struct libusb20_device *pdev, uint8_t iface_index)
-{
- int temp = iface_index;
-
- if (ioctl(pdev->file_ctrl, USB_CLAIM_INTERFACE, &temp)) {
- return (LIBUSB20_ERROR_OTHER);
- }
- return (0);
-}
-
-static int
-ugen20_release_interface(struct libusb20_device *pdev, uint8_t iface_index)
-{
- int temp = iface_index;
-
- if (ioctl(pdev->file_ctrl, USB_RELEASE_INTERFACE, &temp)) {
- return (LIBUSB20_ERROR_OTHER);
- }
- return (0);
-}
-
-static int
ugen20_set_alt_index(struct libusb20_device *pdev,
uint8_t iface_index, uint8_t alt_index)
{