usb: gadget: udc: reduce indentation
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 30 Dec 2018 15:53:08 +0000 (16:53 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 28 Jan 2019 10:51:30 +0000 (12:51 +0200)
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.

Found with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/snps_udc_core.c

index d4da47f4f6f4f8ddb33ae83a58e980b28346f1ac..3fcded31405a7652daacf452373d5360d6e3a229 100644 (file)
@@ -947,15 +947,14 @@ static int prep_dma(struct udc_ep *ep, struct udc_request *req, gfp_t gfp)
                                UDC_DMA_STP_STS_BS_HOST_READY,
                                UDC_DMA_STP_STS_BS);
 
-
-                       /* clear NAK by writing CNAK */
-                       if (ep->naking) {
-                               tmp = readl(&ep->regs->ctl);
-                               tmp |= AMD_BIT(UDC_EPCTL_CNAK);
-                               writel(tmp, &ep->regs->ctl);
-                               ep->naking = 0;
-                               UDC_QUEUE_CNAK(ep, ep->num);
-                       }
+               /* clear NAK by writing CNAK */
+               if (ep->naking) {
+                       tmp = readl(&ep->regs->ctl);
+                       tmp |= AMD_BIT(UDC_EPCTL_CNAK);
+                       writel(tmp, &ep->regs->ctl);
+                       ep->naking = 0;
+                       UDC_QUEUE_CNAK(ep, ep->num);
+               }
 
        }