From: Louis Lesniak <louis.lesniak2@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
louis.lesniak2@gmail.com
Subject: [PATCH] staging: rtl8723bs: remove unnecessary braces
Date: Wed, 28 Jan 2026 16:44:07 +0100 [thread overview]
Message-ID: <20260128154407.42421-1-louis.lesniak2@gmail.com> (raw)
Remove braces from single statement if blocks to adhere to the
Linux kernel coding style.
Signed-off-by: Louis Lesniak <louis.lesniak2@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
index 5ffefa506..33734d20d 100644
--- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
@@ -63,11 +63,10 @@ u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta)
break;
case WIRELESS_11B_24N:
case WIRELESS_11BG_24N:
- if (psta->bw_mode == CHANNEL_WIDTH_20) {
+ if (psta->bw_mode == CHANNEL_WIDTH_20)
raid = RATEID_IDX_BGN_20M_1SS_BN;
- } else {
+ else
raid = RATEID_IDX_BGN_40M_1SS;
- }
break;
default:
raid = RATEID_IDX_BGN_40M_2SS;
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-01-28 15:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-28 15:44 Louis Lesniak [this message]
2026-03-04 17:19 Zeynep Dicle
2026-03-05 22:33 ` Ethan Tidmore
2026-07-01 14:57 Aditya Tipre
2026-07-07 11:33 ` Greg Kroah-Hartman
2026-07-12 15:34 Arsenii Pashchenko
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=20260128154407.42421-1-louis.lesniak2@gmail.com \
--to=louis.lesniak2@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