mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: clean up code style in hal_intf.c
@ 2026-06-24 21:56 André Moreira
  2026-06-24 22:08 ` Andre Moreira
  0 siblings, 1 reply; 2+ messages in thread
From: André Moreira @ 2026-06-24 21:56 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, André Moreira

Fix coding style issues regarding unneeded parentheses, Yoda
conditions, and unnecessary braces for single-statement blocks.
Also improve variable initialization.

Signed-off-by: André Moreira <andrem.33333@gmail.com>
---
 drivers/staging/rtl8723bs/hal/hal_intf.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_intf.c b/drivers/staging/rtl8723bs/hal/hal_intf.c
index 228297cee5d6e..496f18d40c5e3 100644
--- a/drivers/staging/rtl8723bs/hal/hal_intf.c
+++ b/drivers/staging/rtl8723bs/hal/hal_intf.c
@@ -184,8 +184,9 @@ u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask)
 {
 	return PHY_QueryBBReg_8723B(padapter, RegAddr, BitMask);
 }
-void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr,
-			u32 BitMask, u32 Data)
+
+void rtw_hal_write_bbreg(struct adapter *padapter,
+			u32 RegAddr, u32 BitMask, u32 Data)
 {
 	PHY_SetBBReg_8723B(padapter, RegAddr, BitMask, Data);
 }
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-24 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 21:56 [PATCH] staging: rtl8723bs: clean up code style in hal_intf.c André Moreira
2026-06-24 22:08 ` Andre Moreira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®