From: Zach Schneider <me@zachschneider.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Zach Schneider <me@zachschneider.com>
Subject: [PATCH 2/2] staging: rtl8723bs: fix long line and braces in odm.c
Date: Tue, 13 Oct 2026 16:41:29 -0500 [thread overview]
Message-ID: <20261013214129.699212-2-me@zachschneider.com> (raw)
In-Reply-To: <20261013214129.699212-1-me@zachschneider.com>
Checkpatch reports that the ODM_RAStateCheck() call in
odm_RefreshRateAdaptiveMaskCE() exceeds 100 columns and that the
braces around its single-statement body are not necessary.
Wrap the call arguments onto a second line aligned with the open
parenthesis and drop the unnecessary braces. No functional change.
Assisted-by: LLM
Signed-off-by: Zach Schneider <me@zachschneider.com>
---
drivers/staging/rtl8723bs/hal/odm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index 4352f58f3674..435875f3bef4 100644
--- a/drivers/staging/rtl8723bs/hal/odm.c
+++ b/drivers/staging/rtl8723bs/hal/odm.c
@@ -270,9 +270,9 @@ static void odm_RefreshRateAdaptiveMaskCE(struct dm_odm_t *pDM_Odm)
if (is_multicast_ether_addr(pstat->hwaddr)) /* if (psta->mac_id == 1) */
continue;
- if (ODM_RAStateCheck(pDM_Odm, pstat->rssi_stat.UndecoratedSmoothedPWDB, false, &pstat->rssi_level)) {
+ if (ODM_RAStateCheck(pDM_Odm, pstat->rssi_stat.UndecoratedSmoothedPWDB,
+ false, &pstat->rssi_level))
rtw_hal_update_ra_mask(pstat, pstat->rssi_level);
- }
}
}
--
2.56.0
next prev parent reply other threads:[~2026-10-13 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 21:41 [PATCH 1/2] staging: rtl8723bs: remove remaining comparisons to true/false Zach Schneider
2026-10-13 21:41 ` Zach Schneider [this message]
2026-10-14 4:56 ` Greg Kroah-Hartman
2026-10-14 13:03 ` Zach Schneider
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=20261013214129.699212-2-me@zachschneider.com \
--to=me@zachschneider.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
all inboxes | Powered by JetHome®