Search Linux Wireless

Re: [PATCH] Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rakhi,

On Tue, Feb 2, 2016 at 11:43 PM, Rakhi Sharma <rakhish1994@xxxxxxxxx> wrote:
> Fixed a braces style warning.
> Warning: braces {} are not necessary for single statement blocks.
>
> Signed-off-by: Rakhi Sharma <rakhish1994@xxxxxxxxx>

Looks good.

Reviewed-by: Julian Calaby <julian.calaby@xxxxxxxxx>

> ---
>  drivers/staging/rtl8723au/core/rtw_ieee80211.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> index 07a6490..5089ae8 100644
> --- a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> +++ b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> @@ -176,10 +176,8 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit)
>         int tmp, i;
>         u8 *p;
>
> -       if (limit < 1) {
> -
> +       if (limit < 1)
>                 return NULL;
> -       }
>
>         p = pbuf;
>         i = 0;
> --
> 1.9.1
>



-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux