summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-08-31 18:17:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 07:39:28 -0700
commit8429bf1a046b31611c17005aba8967ab20cedabd (patch)
treecf752bb61455fe8ae29f4f802648424e64b3f2e3
parent70f1a6d65df3f6bd18269c6e32547a59523430ac (diff)
downloadop-kernel-dev-8429bf1a046b31611c17005aba8967ab20cedabd.zip
op-kernel-dev-8429bf1a046b31611c17005aba8967ab20cedabd.tar.gz
staging: r8188eu: Fix smatch warning in core/rtw_ieee80211.
Smatch shows the following warning: drivers/staging/rtl8188eu/core/rtw_ieee80211.c:161 rtw_set_ie() info: ignoring unreachable code. The cause is a module exit tracing statement after a return. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_ieee80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
index 3605c5d..6fc7742 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
@@ -157,8 +157,8 @@ _func_enter_;
*frlen = *frlen + (len + 2);
- return pbuf + len + 2;
_func_exit_;
+ return pbuf + len + 2;
}
inline u8 *rtw_set_ie_ch_switch (u8 *buf, u32 *buf_len, u8 ch_switch_mode,
OpenPOWER on IntegriCloud