* [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_set_oper_ch()
@ 2026-08-09 14:42 Raushan Kumar
0 siblings, 0 replies; only message in thread
From: Raushan Kumar @ 2026-08-09 14:42 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Raushan Kumar
Remove unnecessary curly braces around single statement if block,
as flagged by checkpatch.pl.
Signed-off-by: Raushan Kumar <mitramaurya80@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 c614c0b4c792..d900b946908e 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.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-09 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-09 14:42 [PATCH] staging: rtl8723bs: remove unnecessary braces in rtw_set_oper_ch() Raushan Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox