mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:07:29 +07:00
staging: rtl8723bs: hal: Modify comparison to constant in rtl8723bs_xmit.c
Modify comparison to true in file rtl8723bs_xmit in order to follow kernel coding style of constant should appear on the right side. Signed-off-by: Himadri Pandya <himadri18.07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ca739e21ba
commit
3b3a1a0b78
@ -58,7 +58,7 @@ static s32 rtl8723_dequeue_writeport(struct adapter *padapter)
|
||||
|
||||
ret = ret || check_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
|
||||
|
||||
if (true == ret)
|
||||
if (ret == true)
|
||||
pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv);
|
||||
else
|
||||
pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv);
|
||||
|
Loading…
Reference in New Issue
Block a user