mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
usb: chipidea: udc: remove unused value assignment
retval is assigned to be -EOVERFLOW but is overwritten later before it's used, remove this unused value assignment. Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
This commit is contained in:
parent
6a6319f45d
commit
34d5732dd6
@ -819,7 +819,6 @@ static int _ep_queue(struct usb_ep *ep, struct usb_request *req,
|
||||
ci->ep0out : ci->ep0in;
|
||||
if (!list_empty(&hwep->qh.queue)) {
|
||||
_ep_nuke(hwep);
|
||||
retval = -EOVERFLOW;
|
||||
dev_warn(hwep->ci->dev, "endpoint ctrl %X nuked\n",
|
||||
_usb_addr(hwep));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user