From: Elena Oat Date: Wed, 19 Mar 2014 12:50:11 +0000 (+0200) Subject: Staging: rtl8188eu: Fix warning of braces are not necessary. X-Git-Tag: MMI-PSA29.97-13-9~12500^2~50 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9cdddda572de48374685ff362d726913f06e383e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index 4076c66833a4..0552019d1cf7 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c +++ b/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;