From: Larry Finger Date: Wed, 4 Sep 2013 20:55:56 +0000 (-0500) Subject: staging: r8188eu: Fix smatch warning in core/rtw_ieee80211. X-Git-Tag: v3.13-rc1~170^2~722 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbb57f6d35f510e13d4f7e0af67ee232146c20da;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 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 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,