mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-28 23:23:40 +00:00
rtl8188eu: Fix smatch warning in core/rtw_wlan_util.c
Smatch shows the following: CHECK /home/finger/rtl8188eu/core/rtw_wlan_util.c /home/finger/rtl8188eu/core/rtw_wlan_util.c:1111 rtw_check_bcn_info() info: ignoring unreachable code. This case had the _func_exit_ macro after a return. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
1d3cceea6a
commit
3be2cff4fe
1 changed files with 2 additions and 2 deletions
|
@ -1102,13 +1102,13 @@ int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len)
|
||||||
}
|
}
|
||||||
|
|
||||||
rtw_mfree((u8 *)bssid, sizeof(struct wlan_bssid_ex));
|
rtw_mfree((u8 *)bssid, sizeof(struct wlan_bssid_ex));
|
||||||
|
_func_exit_;
|
||||||
return _SUCCESS;
|
return _SUCCESS;
|
||||||
|
|
||||||
_mismatch:
|
_mismatch:
|
||||||
rtw_mfree((u8 *)bssid, sizeof(struct wlan_bssid_ex));
|
rtw_mfree((u8 *)bssid, sizeof(struct wlan_bssid_ex));
|
||||||
return _FAIL;
|
|
||||||
|
|
||||||
_func_exit_;
|
_func_exit_;
|
||||||
|
return _FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta)
|
void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta)
|
||||||
|
|
Loading…
Reference in a new issue