* [PATCH 0/2] staging: rtl8723bs: checkpatch cleanup rtw_btcoex.c
@ 2026-04-03 22:03 Linus Probert
2026-04-03 22:03 ` [PATCH 1/2] staging: rtl8723bs: correct logical continuation check in rtw_btcoex.c Linus Probert
2026-04-03 22:03 ` [PATCH 2/2] staging: rtl8723bs: remove multiple blank lines " Linus Probert
0 siblings, 2 replies; 3+ messages in thread
From: Linus Probert @ 2026-04-03 22:03 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Linus Probert
Cleans up all remaining checkpatch checks in rtw_btcoex.c excluding
"Avoid CamelCase" checks since the remaining ones are defined in
separate headers.
Linus Probert (2):
staging: rtl8723bs: correct logical continuation check in rtw_btcoex.c
staging: rtl8723bs: remove multiple blank lines in rtw_btcoex.c
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--
2.53.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] staging: rtl8723bs: correct logical continuation check in rtw_btcoex.c
2026-04-03 22:03 [PATCH 0/2] staging: rtl8723bs: checkpatch cleanup rtw_btcoex.c Linus Probert
@ 2026-04-03 22:03 ` Linus Probert
2026-04-03 22:03 ` [PATCH 2/2] staging: rtl8723bs: remove multiple blank lines " Linus Probert
1 sibling, 0 replies; 3+ messages in thread
From: Linus Probert @ 2026-04-03 22:03 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Linus Probert
Corrects logical continuation placement in rtw_btcoex.c
Discovered and verified with checkpatch.pl
Signed-off-by: Linus Probert <linus.probert@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 0191a943f0a4..caa757b8dc0a 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -10,8 +10,8 @@
void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 media_status)
{
- if ((media_status == RT_MEDIA_CONNECT)
- && (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) {
+ if (media_status == RT_MEDIA_CONNECT &&
+ check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) {
rtw_hal_set_hwreg(padapter, HW_VAR_DL_RSVD_PAGE, NULL);
}
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] staging: rtl8723bs: remove multiple blank lines in rtw_btcoex.c
2026-04-03 22:03 [PATCH 0/2] staging: rtl8723bs: checkpatch cleanup rtw_btcoex.c Linus Probert
2026-04-03 22:03 ` [PATCH 1/2] staging: rtl8723bs: correct logical continuation check in rtw_btcoex.c Linus Probert
@ 2026-04-03 22:03 ` Linus Probert
1 sibling, 0 replies; 3+ messages in thread
From: Linus Probert @ 2026-04-03 22:03 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Linus Probert
Removes multiple blank lines in rtw_btcoex.c.
Discovered and verified using checkpatch.pl
Signed-off-by: Linus Probert <linus.probert@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index caa757b8dc0a..574c672419e6 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -65,7 +65,6 @@ void rtw_btcoex_LPS_Leave(struct adapter *padapter)
{
struct pwrctrl_priv *pwrpriv;
-
pwrpriv = adapter_to_pwrctl(padapter);
if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) {
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-03 22:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 22:03 [PATCH 0/2] staging: rtl8723bs: checkpatch cleanup rtw_btcoex.c Linus Probert
2026-04-03 22:03 ` [PATCH 1/2] staging: rtl8723bs: correct logical continuation check in rtw_btcoex.c Linus Probert
2026-04-03 22:03 ` [PATCH 2/2] staging: rtl8723bs: remove multiple blank lines " Linus Probert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox