summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/f_subset.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/function/f_subset.c')
-rw-r--r--drivers/usb/gadget/function/f_subset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_subset.c b/drivers/usb/gadget/function/f_subset.c
index 1ea8baf..e3dfa67 100644
--- a/drivers/usb/gadget/function/f_subset.c
+++ b/drivers/usb/gadget/function/f_subset.c
@@ -380,7 +380,6 @@ geth_bind(struct usb_configuration *c, struct usb_function *f)
return 0;
fail:
- usb_free_all_descriptors(f);
/* we might as well release our claims on endpoints */
if (geth->port.out_ep)
geth->port.out_ep->driver_data = NULL;
OpenPOWER on IntegriCloud