]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: split multiple assignment in rtw_mgmt_xmitframe_coalesce
authorMarco Antonio Solis Segura <mshdevv@gmail.com>
Thu, 19 Mar 2026 06:26:26 +0000 (00:26 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Mar 2026 08:30:17 +0000 (10:30 +0200)
commit29372c18c7f7416397aca91c17541d4d522e5e34
treec533fdfd3252c0f0e52b24015966367b9766370f
parent092ba18dddaa0ac5be82d1d747764cdb5eafeab0
staging: rtl8723bs: split multiple assignment in rtw_mgmt_xmitframe_coalesce

Cleanup the multiple assignment of tmp_buf and BIP_AAD to fix the
checkpatch.pl CHECK: "Multiple assignments should be avoided".

Additionally, reorder the assignments to ensure tmp_buf is assigned
only after BIP_AAD has been validated as non-NULL.

Signed-off-by: Marco Antonio Solis Segura <mshdevv@gmail.com>
Link: https://patch.msgid.link/20260319062626.605200-1-mshdevv@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c