usb: amd5536udc: Fix indentation
authorCyril Roelandt <tipecaml@gmail.com>
Sat, 25 Feb 2012 01:14:59 +0000 (02:14 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 27 Feb 2012 14:33:37 +0000 (16:33 +0200)
Remove an unnecessary level of indentation.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c

index 5e2cc0addb8526916527fba0f407f9f56ba5fa0d..ad72ab72f0413967fd62f5c812eba226b1b03748 100644 (file)
@@ -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 */