Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Luis de Bethencourt
On Tue, Jun 23, 2015 at 03:59:41PM +0200, Frans Klaver wrote: > On Tue, Jun 23, 2015 at 3:59 PM, Luis de Bethencourt > wrote: > > On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote: > >> On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt > >> wrote: > >> > >> >> > if (dm_digta

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Frans Klaver
On Tue, Jun 23, 2015 at 3:59 PM, Luis de Bethencourt wrote: > On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote: >> On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt >> wrote: >> >> >> > if (dm_digtable.dig_algorithm_switch) { >> >> > @@ -3062,7 +3062,8 @@ static void dm_dyn

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Luis de Bethencourt
On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote: > On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt > wrote: > > >> > if (dm_digtable.dig_algorithm_switch) { > >> > @@ -3062,7 +3062,8 @@ static void dm_dynamic_txpower(struct net_device > >> > *dev) > >> >

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Frans Klaver
On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt wrote: >> > if (dm_digtable.dig_algorithm_switch) { >> > @@ -3062,7 +3062,8 @@ static void dm_dynamic_txpower(struct net_device >> > *dev) >> > priv->bDynamicTxLowPower = false; >> > } else { >>

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Luis de Bethencourt
On Tue, Jun 23, 2015 at 03:04:32PM +0200, Frans Klaver wrote: > On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt > wrote: > > Remove explicit true/false comparations to bool variables. > > > > Signed-off-by: Luis de Bethencourt > > --- > > drivers/staging/rtl8192u/r8192U_core.c | 7 ---

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Frans Klaver
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt wrote: > Remove explicit true/false comparations to bool variables. > > Signed-off-by: Luis de Bethencourt > --- > drivers/staging/rtl8192u/r8192U_core.c | 7 --- > drivers/staging/rtl8192u/r8192U_dm.c | 21 +++-- > 2 fi

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Luis de Bethencourt
On Tue, Jun 23, 2015 at 02:56:38PM +0200, Frans Klaver wrote: > On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt > wrote: > > Remove explicit true/false comparations to bool variables. > > > > Signed-off-by: Luis de Bethencourt > > --- > > drivers/staging/rtl8192u/r8192U_core.c | 7 ---

Re: [PATCH] staging: rtl8192u: bool tests don't need comparisons

2015-06-23 Thread Frans Klaver
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt wrote: > Remove explicit true/false comparations to bool variables. > > Signed-off-by: Luis de Bethencourt > --- > drivers/staging/rtl8192u/r8192U_core.c | 7 --- > drivers/staging/rtl8192u/r8192U_dm.c | 21 +++-- > 2 fi