mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
staging: rtl8723bs: core: remove empty if-statements
This patch removes if-statements with no body in rtw_recv.c and rtw_xmit.c. If-statement conditions have no side-effect and can be safely removed. Signed-off-by: William Hansen-Baird <william.hansen.baird@gmail.com> Link: https://patch.msgid.link/20251224100329.762141-1-william.hansen.baird@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
780f18732a
commit
f8a916c8ca
|
|
@ -2035,9 +2035,6 @@ static int recv_indicatepkt_reorder(struct adapter *padapter, union recv_frame *
|
|||
|
||||
preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1)%4096;
|
||||
|
||||
if (retval != _SUCCESS) {
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1707,8 +1707,6 @@ s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitfram
|
|||
queue = &pxmitpriv->free_xmit_queue;
|
||||
else if (pxmitframe->ext_tag == 1)
|
||||
queue = &pxmitpriv->free_xframe_ext_queue;
|
||||
else {
|
||||
}
|
||||
|
||||
spin_lock_bh(&queue->lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user