mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 04:26:45 +00:00
staging: rtl8723bs: hal: fix Using comparison to false is error prone
fix below issue reported by checkpatch CHECK: Using comparison to false is error prone Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
289fb19ef7
commit
247c2ad278
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static void rtl8723bs_c2h_packet_handler(struct adapter *padapter,
|
|||
|
||||
res = rtw_c2h_packet_wk_cmd(padapter, tmp, length);
|
||||
|
||||
if (res == false)
|
||||
if (!res)
|
||||
kfree(tmp);
|
||||
|
||||
/* DBG_871X("-%s res(%d)\n", __func__, res); */
|
||||
|
|
Loading…
Reference in a new issue