Sfoglia il codice sorgente

Staging: rtl8188eu: Fix warning of braces are not necessary.

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>
Elena Oat 11 anni fa
parent
commit
9cdddda572
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      drivers/staging/rtl8188eu/core/rtw_ieee80211.c

+ 1 - 2
drivers/staging/rtl8188eu/core/rtw_ieee80211.c

@@ -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;