diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2012-02-25 02:14:59 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-27 16:33:37 +0200 |
commit | 1435db486c131b4b76d8e2a261ae6292ffc3f7ca (patch) | |
tree | 473c7a44fff7073e93903db7fb22ebe6d05eb2f0 /drivers/usb/gadget/amd5536udc.c | |
parent | 5647a149e2b9260530a11c8494b529de56e226ab (diff) | |
download | op-kernel-dev-1435db486c131b4b76d8e2a261ae6292ffc3f7ca.zip op-kernel-dev-1435db486c131b4b76d8e2a261ae6292ffc3f7ca.tar.gz |
usb: amd5536udc: Fix indentation
Remove an unnecessary level of indentation.
Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.c')
-rw-r--r-- | drivers/usb/gadget/amd5536udc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c index 5e2cc0a..ad72ab7 100644 --- a/drivers/usb/gadget/amd5536udc.c +++ b/drivers/usb/gadget/amd5536udc.c @@ -2409,9 +2409,9 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix) /* write fifo */ udc_txfifo_write(ep, &req->req); len = req->req.length - req->req.actual; - if (len > ep->ep.maxpacket) - len = ep->ep.maxpacket; - req->req.actual += len; + if (len > ep->ep.maxpacket) + len = ep->ep.maxpacket; + req->req.actual += len; if (req->req.actual == req->req.length || (len != ep->ep.maxpacket)) { /* complete req */ |