On Tue, Jun 16, 2015 at 07:33:42AM +0000, Abdul, Hussain (H.) wrote:
> From: Abdul Hussain <hab...@visteon.com>
> 
> This patch removes unwanted true and false from boolean tests.
> 
> Signed-off-by: Abdul Hussain <hab...@visteon.com>
> ---
<snip>
> diff --git a/drivers/staging/wilc1000/host_interface.c 
> b/drivers/staging/wilc1000/host_interface.c
> index 17ab5cd..be1f6bf 100644
> --- a/drivers/staging/wilc1000/host_interface.c
> +++ b/drivers/staging/wilc1000/host_interface.c
> @@ -7816,7 +7816,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo 
> *ptstrNetworkInfo)
>                                       pNewJoinBssParam->rsn_cap[1] = 
> pu8IEs[rsnIndex + 1];
>                                       rsnIndex += 2;
>                               }
> -                             pNewJoinBssParam->rsn_found = 1;
> +                             pNewJoinBssParam->rsn_found = true;
But this is not a boolean test, this is an assignement.

regards
sudip
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to