Re: [PATCH v2 1/5] staging: kpc2000: inverted conditional in order to reduce indentation.

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

 



On Wed, May 15, 2019 at 12:14:33PM +0100, Jeremy Sowden wrote:
> Changed:
> 
>   for (...) {
>     ...
>     if (expr) {
>       ...
>     }
>   }
> 
> into:
> 
>   for (...) {
>     ...
>     if (!expr)
>       continue;
>     ...
>   }
> 
> in order to reduce indentation of conditional block.  Fixed indentation
> of cases blocks at the same time.
> 
> Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
> Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
>  drivers/staging/kpc2000/kpc2000/cell_probe.c | 43 +++++++++++---------
>  1 file changed, 24 insertions(+), 19 deletions(-)

Always be sure to cc: the proper maintainer and developers for your
patches.  Otherwise they might get lost in the noise of a mailing
list...
_______________________________________________
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