From: Ben O'Bryan <obryanbw@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Ben O'Bryan <obryanbw@gmail.com>
Subject: [PATCH] staging: rtl8723bs: remove redundant parentheses
Date: Sat, 30 May 2026 19:41:03 -0500 [thread overview]
Message-ID: <20260531004140.99743-1-obryanbw@gmail.com> (raw)
Remove redundant parentheses around type checks
and align conditional lines to improve readability
Signed-off-by: Ben O'Bryan <obryanbw@gmail.com>
---
This is my first patch to the kernel so please let me know if
I've done anything wrong.
This patch is mostly for me to verify my environment. Assuming
everything goes smoothly, I hope to continue to contribute
more formatting patches as I get more comfortable contributing.
drivers/staging/rtl8723bs/core/rtw_xmit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index 444966c0de7f..cc38c0c950bb 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -2476,9 +2476,9 @@ struct xmit_buf *dequeue_pending_xmitbuf_under_survey(struct xmit_priv *pxmitpri
type = GetFrameSubType(pxmitbuf->pbuf + TXDESC_OFFSET);
- if ((type == WIFI_PROBEREQ) ||
- (type == WIFI_DATA_NULL) ||
- (type == WIFI_QOS_DATA_NULL)) {
+ if (type == WIFI_PROBEREQ ||
+ type == WIFI_DATA_NULL ||
+ type == WIFI_QOS_DATA_NULL) {
list_del_init(&pxmitbuf->list);
break;
}
--
2.52.0
next reply other threads:[~2026-05-31 0:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-31 0:41 Ben O'Bryan [this message]
2026-06-01 11:11 ` [PATCH] staging: rtl8723bs: remove redundant parentheses Dan Carpenter
-- strict thread matches above, loose matches on Subject: below --
2026-04-03 17:28 [PATCH] staging: rtl8723bs: remove redundant & parentheses Sam Daly
2026-04-03 21:14 ` Ethan Tidmore
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=20260531004140.99743-1-obryanbw@gmail.com \
--to=obryanbw@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