aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-07 08:40:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-07 19:30:25 -0500
commitd85b277ed1d3ff7b6084bf13963ab0a66544e81c (patch)
tree55c392d921145243abce29c75ed09214db3a8c77
parent62e3986cae512244b97a9b92be68df2808c8bec7 (diff)
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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,
663static void gr_ep_nuke(struct gr_ep *ep) 663static void gr_ep_nuke(struct gr_ep *ep)
664{ 664{
665 struct gr_request *req; 665 struct gr_request *req;
666 struct gr_udc *dev;
667
668 dev = ep->dev;
669 666
670 ep->stopped = 1; 667 ep->stopped = 1;
671 ep->dma_start = 0; 668 ep->dma_start = 0;