* [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_wlan_util.c
@ 2026-07-01 3:45 Ruziev Miraly
2026-07-07 11:32 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Ruziev Miraly @ 2026-07-01 3:45 UTC (permalink / raw)
To: gregkh, linux-staging; +Cc: linux-kernel, Ruziev Miraly
Remove unnecessary braces for a single statement block to comply
with the Linux kernel coding style.
Signed-off-by: Ruziev Miraly <miraly.dev@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
index 1d37c2d5b..cc05decd4 100644
--- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
@@ -256,9 +256,8 @@ inline void rtw_set_oper_ch(struct adapter *adapter, u8 ch)
{
struct dvobj_priv *dvobj = adapter_to_dvobj(adapter);
- if (dvobj->oper_channel != ch) {
+ if (dvobj->oper_channel != ch)
dvobj->on_oper_ch_time = jiffies;
- }
dvobj->oper_channel = ch;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_wlan_util.c
2026-07-01 3:45 [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_wlan_util.c Ruziev Miraly
@ 2026-07-07 11:32 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2026-07-07 11:32 UTC (permalink / raw)
To: Ruziev Miraly; +Cc: linux-staging, linux-kernel
On Wed, Jul 01, 2026 at 08:45:52AM +0500, Ruziev Miraly wrote:
> Remove unnecessary braces for a single statement block to comply
> with the Linux kernel coding style.
>
> Signed-off-by: Ruziev Miraly <miraly.dev@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
> index 1d37c2d5b..cc05decd4 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
> @@ -256,9 +256,8 @@ inline void rtw_set_oper_ch(struct adapter *adapter, u8 ch)
> {
> struct dvobj_priv *dvobj = adapter_to_dvobj(adapter);
>
> - if (dvobj->oper_channel != ch) {
> + if (dvobj->oper_channel != ch)
> dvobj->on_oper_ch_time = jiffies;
> - }
>
> dvobj->oper_channel = ch;
> }
> --
> 2.54.0
>
Someone already submitted this patch before you did, sorry.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-07 11:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 3:45 [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_wlan_util.c Ruziev Miraly
2026-07-07 11:32 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox