Commit 1435db48 authored by Cyril Roelandt's avatar Cyril Roelandt Committed by Felipe Balbi

usb: amd5536udc: Fix indentation

Remove an unnecessary level of indentation.
Signed-off-by: default avatarCyril Roelandt <tipecaml@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5647a149
...@@ -2409,9 +2409,9 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix) ...@@ -2409,9 +2409,9 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix)
/* write fifo */ /* write fifo */
udc_txfifo_write(ep, &req->req); udc_txfifo_write(ep, &req->req);
len = req->req.length - req->req.actual; len = req->req.length - req->req.actual;
if (len > ep->ep.maxpacket) if (len > ep->ep.maxpacket)
len = ep->ep.maxpacket; len = ep->ep.maxpacket;
req->req.actual += len; req->req.actual += len;
if (req->req.actual == req->req.length if (req->req.actual == req->req.length
|| (len != ep->ep.maxpacket)) { || (len != ep->ep.maxpacket)) {
/* complete req */ /* complete req */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment