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

2017-02-24 Thread Greg Kroah-Hartman
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

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

2017-02-20 Thread Tobin C. Harding
'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: To