aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c
index ed9b404e5f5a..a38b6af2c358 100644
--- a/drivers/usb/gadget/inode.c
+++ b/drivers/usb/gadget/inode.c
@@ -223,7 +223,6 @@ static void put_ep (struct ep_data *data)
223 /* needs no more cleanup */ 223 /* needs no more cleanup */
224 BUG_ON (!list_empty (&data->epfiles)); 224 BUG_ON (!list_empty (&data->epfiles));
225 BUG_ON (waitqueue_active (&data->wait)); 225 BUG_ON (waitqueue_active (&data->wait));
226 BUG_ON (down_trylock (&data->lock) != 0);
227 kfree (data); 226 kfree (data);
228} 227}
229 228