From: "André Moreira" <andrem.33333@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
"André Moreira" <andrem.33333@gmail.com>
Subject: [PATCH] staging: rtl8723bs: clean up code style in hal_intf.c
Date: Wed, 24 Jun 2026 18:56:29 -0300 [thread overview]
Message-ID: <20260624215629.32568-1-andrem.33333@gmail.com> (raw)
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
next reply other threads:[~2026-06-24 21:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 21:56 André Moreira [this message]
2026-06-24 22:08 ` [PATCH] staging: rtl8723bs: clean up code style in hal_intf.c Andre Moreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260624215629.32568-1-andrem.33333@gmail.com \
--to=andrem.33333@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox