From: Wei Yongjun Date: Tue, 7 Jan 2014 13:40:45 +0000 (+0800) Subject: usb: gadget: remove unused variable in gr_queue_int() X-Git-Tag: v3.14-rc1~148^2~18 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=d85b277ed1d3ff7b6084bf13963ab0a66544e81c;p=linux.git usb: gadget: remove unused variable in gr_queue_int() The variable 'dev' is initialized but never used otherwise, so remove the unused variable. Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman --- 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;