usb: gadget: f_hid: remove unnecessary usb_ep_dequeue()
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 10 Feb 2015 16:30:36 +0000 (17:30 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 11 Mar 2015 15:19:38 +0000 (10:19 -0500)
commitf4e4f8dae3753685e577143e8116cbac52f13cc4
treef03cbf9e320189b7cae78858031ac1b9600f2436
parentfa84acf0f6142e7f35da785e25ee978518ff21ac
usb: gadget: f_hid: remove unnecessary usb_ep_dequeue()

Function usb_ep_disable() causes completion of all requests queued
for given endpoint, so there is no need to dequeue them after endpoint
disabling.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_hid.c