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>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux