mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 05:53:41 +00:00
rtl8188eu: Fix smatch warning in os_dep/recv_linux.c
Smatch shows the following warning: CHECK /home/finger/rtl8188eu/os_dep/recv_linux.c /home/finger/rtl8188eu/os_dep/recv_linux.c:236 rtw_recv_indicatepkt() warn: variable dereferenced before check 'precv_frame' (see line 142) Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
72c61c0cb2
commit
be114f8fae
1 changed files with 2 additions and 3 deletions
|
@ -232,9 +232,8 @@ _func_exit_;
|
||||||
|
|
||||||
_recv_indicatepkt_drop:
|
_recv_indicatepkt_drop:
|
||||||
|
|
||||||
/* enqueue back to free_recv_queue */
|
/* enqueue back to free_recv_queue */
|
||||||
if (precv_frame)
|
rtw_free_recvframe(precv_frame, pfree_recv_queue);
|
||||||
rtw_free_recvframe(precv_frame, pfree_recv_queue);
|
|
||||||
|
|
||||||
_func_exit_;
|
_func_exit_;
|
||||||
return _FAIL;
|
return _FAIL;
|
||||||
|
|
Loading…
Reference in a new issue