Re: [PATCH v2 1/3] staging: rtl8712: Remove boolean comparisons

2015-10-24 Thread Luis de Bethencourt
On 22/10/15 20:05, Dan Carpenter wrote: > On Mon, Oct 19, 2015 at 06:14:29PM +0100, Luis de Bethencourt wrote: >> Boolean tests do not need explicit comparison to true or false. >> >> Signed-off-by: Luis de Bethencourt >> --- >> diff --git a/drivers/staging/rtl8712/usb_ops_linux.c >> b/drivers/st

Re: [PATCH v2 1/3] staging: rtl8712: Remove boolean comparisons

2015-10-22 Thread Dan Carpenter
On Mon, Oct 19, 2015 at 06:14:29PM +0100, Luis de Bethencourt wrote: > Boolean tests do not need explicit comparison to true or false. > > Signed-off-by: Luis de Bethencourt > --- > diff --git a/drivers/staging/rtl8712/usb_ops_linux.c > b/drivers/staging/rtl8712/usb_ops_linux.c > index c940722..

[PATCH v2 1/3] staging: rtl8712: Remove boolean comparisons

2015-10-19 Thread Luis de Bethencourt
Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8712/os_intfs.c| 4 +- drivers/staging/rtl8712/rtl8712_cmd.c | 9 +- drivers/staging/rtl8712/rtl8712_efuse.c | 56 - drivers/staging/rt