mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
usb: gadget: udc-xilinx: clean up a variable name
"ep->udc->lock" and "udc->lock" are the same thing. It confuses Smatch if we don't use the same name consistently. Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
65db7a0c98
commit
0df6d8db35
1 changed files with 1 additions and 1 deletions
|
|
@ -1151,7 +1151,7 @@ static int xudc_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
|
|||
break;
|
||||
}
|
||||
if (&req->usb_req != _req) {
|
||||
spin_unlock_irqrestore(&ep->udc->lock, flags);
|
||||
spin_unlock_irqrestore(&udc->lock, flags);
|
||||
return -EINVAL;
|
||||
}
|
||||
xudc_done(ep, req, -ECONNRESET);
|
||||
|
|
|
|||
Loading…
Reference in a new issue