On Sat, 2015-09-12 at 11:19 +0530, Shraddha Barke wrote:
> This patch removes comparisons to true/false values on bool variables.
> Fixed using Coccinelle

Please do the "== false" and "!= false" cases at the same time
or in another patch.

> diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c 
> b/drivers/staging/rtl8723au/core/rtw_ap.c
[]
> @@ -409,7 +409,7 @@ void add_RATid23a(struct rtw_adapter *padapter, struct 
> sta_info *psta, u8 rssi_l
>  
>               arg |= BIT(7);/* support entry 2~31 */
>  
> -             if (shortGIrate == true)
> +             if (shortGIrate)
>                       arg |= BIT(5);
>  
>               tx_ra_bitmap |= ((raid<<28)&0xf0000000);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to