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>
This commit is contained in:
parent
62e3986cae
commit
d85b277ed1
@ -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)
|
static void gr_ep_nuke(struct gr_ep *ep)
|
||||||
{
|
{
|
||||||
struct gr_request *req;
|
struct gr_request *req;
|
||||||
struct gr_udc *dev;
|
|
||||||
|
|
||||||
dev = ep->dev;
|
|
||||||
|
|
||||||
ep->stopped = 1;
|
ep->stopped = 1;
|
||||||
ep->dma_start = 0;
|
ep->dma_start = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user