提交 1435db48 编写于 作者: C Cyril Roelandt 提交者: Felipe Balbi

usb: amd5536udc: Fix indentation

Remove an unnecessary level of indentation.
Signed-off-by: NCyril Roelandt <tipecaml@gmail.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 5647a149
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册