Staging: rtl8723bs: Fix unbalanced braces in conditional
authorBryant Boatright <bryant.boatright@proton.me>
Fri, 4 Apr 2025 13:35:11 +0000 (13:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:28:11 +0000 (16:28 +0200)
commit7b4cd0853cd038a6b8c99985ce219dfcd00d7dc9
treee6f922fba6ceb7a5504dbc104ca937a36682fe43
parentc994aa4db445d5af7c8c5c8bf82dea544eebfd1f
Staging: rtl8723bs: Fix unbalanced braces in conditional

Only one branch of conditional statement is a single statement thus both
branches should use braces to adhere to the Linux coding style.

Reported by checkpatch:

CHECK: Unbalanced braces around else statement

Signed-off-by: Bryant Boatright <bryant.boatright@proton.me>
Link: https://lore.kernel.org/r/Z-_gC8XOVoiXsC8i@ubuntu-desk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c