[PATCH] staging: rtl8192u: Patch to modify if, else conditions

Dhere, Chaitanya (C.) cvijaydh at visteon.com
Mon Jun 1 05:40:14 UTC 2015


On Sun, May 31, 2015 at 10:38:18AM +0900, gregkh at linuxfoundation.org wrote:
> On Tue, May 19, 2015 at 04:55:57PM +0000, Dhere, Chaitanya (C.) wrote:
> > In this patch:
> > 1. the if condition is modified to remove
> > the unnecessary equality check.
> > 2. The else if condition is replaced by an else condition
> > since the variable checked in the if statement is a bool
> > making the else if unnecessary.
> > 3. Fixed indentation problem on line 1369.
> > These changes were detected with help of coccinelle tool.
> 
> 3 different things means you need to send 3 different patches.  Please
> only do one logical thing per patch.
> 
> thanks,
> 
> greg k-h

Ok Greg I will send a V2 of my patch split into 3 patches

Thanks,
Chaitanya Dhere


More information about the devel mailing list