diff options
author | Elena Oat <oat.elena@gmail.com> | 2014-03-19 16:50:11 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 20:13:37 +0400 |
commit | 9cdddda572de48374685ff362d726913f06e383e (patch) | |
tree | f6f2cbbd436bfe704971e0f58eb631b59f536680 /drivers/staging/rtl8188eu/core/rtw_ieee80211.c | |
parent | 5366f6f6852513579f9fb8ba092ecaa44456590b (diff) | |
download | linux-9cdddda572de48374685ff362d726913f06e383e.tar.xz |
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>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_ieee80211.c')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 3 |
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) { int tmp, i; u8 *p; - if (limit < 1) { + if (limit < 1) return NULL; - } p = pbuf; i = 0; |