[PATCH v9] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c

From: Ashwin Gundarapu

Date: Tue May 12 2026 - 08:33:23 EST



From: Ashwin Gundarapu <linuxuser509@xxxxxxxxxxx>
Date: Tue, 12 May 2026 17:54:37 +0530
Subject: [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c

Remove braces around single statement blocks.

Found by checkpatch.pl --strict

Signed-off-by: Ashwin Gundarapu <linuxuser509@xxxxxxxxxxx>
---
v9: Removed git header from email body. Fixed all blank line issues.
Single blank line between statements only.
v8: Fixed double blank lines.
v7: Added version changelog below the --- line.
v6: Fixed indentation and removed trailing whitespace. Rebased against staging-next.
v5: Removed git header from email body. Fixed indentation on the second line of the function call. Added full version history.
v4: Moved changelog below the --- separator. Ran checkpatch.pl.
v3: Fixed double --- line and corrected whitespace formatting.
v2: Resent with corrected whitespace via Thunderbird plain text mode.
v1: Initial patch submission removing unnecessary comparison to true.
---
drivers/staging/rtl8723bs/core/rtw_mlme.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 3d88a3a185d5..22776af126ca 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -483,7 +483,6 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
break;
}

-
if (rtw_roam_flags(adapter))
/* TODO: don't select network in the same ess as oldest if it's new enough*/

--
2.43.0