RE: [patch 3/3] staging: dwc2: remove some indent levels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Dan Carpenter [mailto:dan.carpenter@xxxxxxxxxx]
> Sent: Monday, November 25, 2013 6:14 AM
> 
> Instead of writing code like:
> 
> 	if (dwc2_qh_is_non_per(qh)) {
> 		...
> 	} else {
> 		...
> 	}
> 	return;
> 
> write it like:
> 
> 	if (dwc2_qh_is_non_per(qh)) {
> 		...
> 		return;
> 	}
> 	...
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux