提交 d85b277e 编写于 作者: W Wei Yongjun 提交者: Greg Kroah-Hartman

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: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 62e3986c
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册