summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/gr_udc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/gr_udc.c b/drivers/usb/gadget/gr_udc.c
index 5f9c65959dd2..483d5a821933 100644
--- a/drivers/usb/gadget/gr_udc.c
+++ b/drivers/usb/gadget/gr_udc.c
@@ -663,9 +663,6 @@ static inline int gr_queue_int(struct gr_ep *ep, struct gr_request *req,
static void gr_ep_nuke(struct gr_ep *ep)
{
struct gr_request *req;
- struct gr_udc *dev;
-
- dev = ep->dev;
ep->stopped = 1;
ep->dma_start = 0;