* [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
@ 2026-05-21 5:26 Ashwin Gundarapu
2026-05-21 5:39 ` Ahmet Sezgin Duran
2026-05-21 5:40 ` gregkh
0 siblings, 2 replies; 3+ messages in thread
From: Ashwin Gundarapu @ 2026-05-21 5:26 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, linux-staging
From: Ashwin Gundarapu <linuxuser509@zohomail.in>
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. Also remove an extra
blank line to maintain one blank line between statements.
Found by checkpatch.pl --strict
Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>
---
v10: Removed extra blank line. Single blank line between statements only.
v9: Removed git header from email body.
v8: Fixed double blank lines as requested by Dan Carpenter.
v7: Added version changelog below the --- line.
v6: Rebased against staging-next to apply cleanly.
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
2026-05-21 5:26 [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c Ashwin Gundarapu
@ 2026-05-21 5:39 ` Ahmet Sezgin Duran
2026-05-21 5:40 ` gregkh
1 sibling, 0 replies; 3+ messages in thread
From: Ahmet Sezgin Duran @ 2026-05-21 5:39 UTC (permalink / raw)
To: Ashwin Gundarapu, gregkh; +Cc: linux-kernel, linux-staging
On 5/21/26 8:26 AM, Ashwin Gundarapu wrote:
> From: Ashwin Gundarapu <linuxuser509@zohomail.in>
> Date: Tue, 12 May 2026 17:54:37 +0530
> Subject: [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
This part is not supposed to be in the email. Better to use `git
send-email` for sending patches.
>
> 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*/
>
Commit message is about removing braces, but actual commit is not. You
need to be consistent here.
Regards,
Ahmet Sezgin Duran
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
2026-05-21 5:26 [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c Ashwin Gundarapu
2026-05-21 5:39 ` Ahmet Sezgin Duran
@ 2026-05-21 5:40 ` gregkh
1 sibling, 0 replies; 3+ messages in thread
From: gregkh @ 2026-05-21 5:40 UTC (permalink / raw)
To: Ashwin Gundarapu; +Cc: linux-kernel, linux-staging
On Thu, May 21, 2026 at 10:56:51AM +0530, Ashwin Gundarapu wrote:
> From: Ashwin Gundarapu <linuxuser509@zohomail.in>
> Date: Tue, 12 May 2026 17:54:37 +0530
> Subject: [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
This shouldn't be in the body of the email. Are you using git send-email
to send this?
>
> Remove braces around single statement blocks. Also remove an extra
> blank line to maintain one blank line between statements.
That is not what your change did :(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-21 5:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 5:26 [PATCH v10] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c Ashwin Gundarapu
2026-05-21 5:39 ` Ahmet Sezgin Duran
2026-05-21 5:40 ` gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox