From: Wei Yongjun <[email protected]>

The variable 'dev' is initialized but never used
otherwise, so remove the unused variable.

Signed-off-by: Wei Yongjun <[email protected]>
---
 drivers/usb/gadget/gr_udc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/usb/gadget/gr_udc.c b/drivers/usb/gadget/gr_udc.c
index 5f9c659..483d5a8 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;

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to