Staging: rtl8188eu: Fix warning of braces are not necessary.
authorElena Oat <oat.elena@gmail.com>
Wed, 19 Mar 2014 12:50:11 +0000 (14:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:13:37 +0000 (09:13 -0700)
This patch fixes the warning of "braces are not necessary for single
statement blocks" in file rtw_ieee80211.c.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c

index 4076c66833a44336099caa436b7311ab64296530..0552019d1cf7d5afa7d07be6bd6f169cbd4dc5c0 100644 (file)
@@ -219,9 +219,8 @@ u8 *rtw_get_ie(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;