Re: [PATCH 5/8] staging: ks7010: Remove level of indentation

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

 



On Mon, Feb 20, 2017 at 07:46:40PM +1100, Tobin C. Harding wrote:
> 'if' statement conditional guards large block of code. Conditional can
> be inverted and function made to return. This allows following code to
> have one level of indentation removed.
> 
> Invert conditional and return directly if new conditioal is true.
> Remove one level of indentation.
> 
> Signed-off-by: Tobin C. Harding <me@xxxxxxxx>
> ---
> 
> Correct error constant to return?

Huh?  what does that mean?

Same problem here with non-unique subject lines, please fix them all up
and resend.

thanks,

greg k-h
_______________________________________________
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