mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Fix smatch warning in core/rtw_ieee80211.c
Smatch reports the following warning: CHECK /home/finger/rtl8188eu/core/rtw_ieee80211.c /home/finger/rtl8188eu/core/rtw_ieee80211.c:161 rtw_set_ie() info: ignoring unreachable code. This warning is caused by a _func_exit_ macro placed after the return. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8f7fde8d6a
commit
d1d8ed064b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue