summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-03-07 00:00:30 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-11 08:11:18 +0100
commit9bb76f450fb773d87c6fef1cab4549046093f3dd (patch)
tree190043942bf9abbbfdbb01cf2c12c51334dd8ef9 /include/usb
parent14726fa7f3e5c43ed9ca9c9da503be82c2bccd72 (diff)
downloadbarebox-9bb76f450fb773d87c6fef1cab4549046093f3dd.tar.gz
barebox-9bb76f450fb773d87c6fef1cab4549046093f3dd.tar.xz
usb: Drop usb_disable_asynch()
There are no users of usb_control_msg() in the codebase that pass timeout of 0, so it doesn't look like usb_disable_asynch() has any effect on USB operation. Drop that function and remove all of its uses to simplify things. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/usb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index eb2eeb8db3..4698308df4 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -172,7 +172,6 @@ int usb_bulk_msg(struct usb_device *dev, unsigned int pipe,
void *data, int len, int *actual_length, int timeout);
int usb_submit_int_msg(struct usb_device *dev, unsigned long pipe,
void *buffer, int transfer_len, int interval);
-void usb_disable_asynch(int disable);
int usb_maxpacket(struct usb_device *dev, unsigned long pipe);
int usb_get_configuration_no(struct usb_device *dev, unsigned char *buffer,
int cfgno);