diff options
author | Michael Straube <straube.linux@gmail.com> | 2018-07-08 13:38:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-08 18:41:15 +0300 |
commit | 86ef7175e317f78f16013f023065dbb7993e7ecf (patch) | |
tree | da27b689c624e55067d81b0f520b53370626079a /drivers/staging/rtl8723bs | |
parent | bea378608b75116277804c260cff8438681f5ac0 (diff) | |
download | linux-86ef7175e317f78f16013f023065dbb7993e7ecf.tar.xz |
staging: rtl8723bs: remove braces from single if statement
Remove braces from single if statement to follow kernel coding style.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c index a4f9e2b90b08..3f1c7bb0eb9f 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c @@ -149,9 +149,8 @@ u8 *rtw_get_ie(u8 *pbuf, sint index, sint *len, sint limit) sint tmp, i; u8 *p; - if (limit < 1) { + if (limit < 1) return NULL; - } p = pbuf; i = 0; |