[PATCH 6/6] staging: rtl8723bs: Add braces to if statement in rtl8723bs_cmd.c

From: Alonso Garrigues

Date: Tue Jun 30 2026 - 12:36:58 EST


Add braces so all blocks in an if else statement are consistent as per
kernel coding style.

Signed-off-by: Alonso Garrigues <agarrigues@xxxxxxxxxx>
---
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
index e4af4348e037..037c13c1e0a8 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
@@ -69,9 +69,9 @@ s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmd
if (!_is_fw_read_cmd_down(padapter, h2c_box_num))
goto exit;

- if (CmdLen <= 3)
+ if (CmdLen <= 3) {
memcpy((u8 *)(&h2c_cmd) + 1, pCmdBuffer, CmdLen);
- else {
+ } else {
memcpy((u8 *)(&h2c_cmd) + 1, pCmdBuffer, 3);
memcpy((u8 *)(&h2c_cmd_ex), pCmdBuffer + 3, CmdLen - 3);
}
--
2.54.0