aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Oat <oat.elena@gmail.com>2014-03-19 08:50:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 12:13:37 -0400
commit9cdddda572de48374685ff362d726913f06e383e (patch)
treef6f2cbbd436bfe704971e0f58eb631b59f536680
parent5366f6f6852513579f9fb8ba092ecaa44456590b (diff)
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>
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_ieee80211.c3
1 files changed, 1 insertions, 2 deletions
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)
219{ 219{
220 int tmp, i; 220 int tmp, i;
221 u8 *p; 221 u8 *p;
222 if (limit < 1) { 222 if (limit < 1)
223 return NULL; 223 return NULL;
224 }
225 224
226 p = pbuf; 225 p = pbuf;
227 i = 0; 226 i = 0;