diff options
author | Li Jun <jun.li@nxp.com> | 2016-01-21 10:39:14 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-02-29 08:37:50 +0300 |
commit | 34d5732dd61f65143098a949fd3dc15af9a112cc (patch) | |
tree | a2246443b9c3c776c009af3537f3fff70a704e53 /drivers/usb/chipidea/udc.c | |
parent | 6a6319f45d604426d15e8aa4886d3ecd65acc163 (diff) | |
download | linux-34d5732dd61f65143098a949fd3dc15af9a112cc.tar.xz |
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>
Diffstat (limited to 'drivers/usb/chipidea/udc.c')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 3eafa2c9a2ba..00250ab38ddb 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -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)); } |