The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jinke Wu <coolbeaner@126.com>
To: gregkh@linuxfoundation.org
Cc: error27@gmail.com, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org, coolbeaner@126.com
Subject: [PATCH v2 4/5] staging: rtl8723bs: remove unnecessary parentheses in issue_asocrsp
Date: Wed,  8 Jul 2026 01:14:49 +0800	[thread overview]
Message-ID: <20260707171450.70997-5-coolbeaner@126.com> (raw)
In-Reply-To: <20260707171450.70997-1-coolbeaner@126.com>

Remove unnecessary parentheses from the pattrib->pktlen address expression
in issue_asocrsp() to clean up the code and adhere to kernel coding
standards.

No functional change.

Signed-off-by: Jinke Wu <coolbeaner@126.com>
---
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 4283844be615..3a1ff22a8a75 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -2701,7 +2701,7 @@ void issue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_i
 	} else {
 		pframe = rtw_set_ie(pframe, WLAN_EID_SUPP_RATES, 8, pstat->bssrateset, &(pattrib->pktlen));
 		pframe = rtw_set_ie(pframe, WLAN_EID_EXT_SUPP_RATES, (pstat->bssratelen - 8),
-				    pstat->bssrateset + 8, &(pattrib->pktlen));
+				    pstat->bssrateset + 8, &pattrib->pktlen);
 	}
 
 	if ((pstat->flags & WLAN_STA_HT) && (pmlmepriv->htpriv.ht_option)) {
-- 
2.34.1


  parent reply	other threads:[~2026-07-07 17:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07 17:14 [PATCH v2 0/5] staging: rtl8723bs: clean up coding style in rtw_mlme_ext Jinke Wu
2026-07-07 17:14 ` [PATCH v2 1/5] staging: rtl8723bs: fix operator spacing " Jinke Wu
2026-07-07 17:14 ` [PATCH v2 2/5] staging: rtl8723bs: fix line length and alignment " Jinke Wu
2026-07-07 17:14 ` [PATCH v2 3/5] staging: rtl8723bs: split nested assignment in OnAssocRsp Jinke Wu
2026-07-07 17:14 ` Jinke Wu [this message]
2026-07-07 17:14 ` [PATCH v2 5/5] staging: rtl8723bs: simplify boolean comparison in send_beacon Jinke Wu
2026-07-08  5:02 ` [PATCH v2 0/5] staging: rtl8723bs: clean up coding style in rtw_mlme_ext Greg KH

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=20260707171450.70997-5-coolbeaner@126.com \
    --to=coolbeaner@126.com \
    --cc=error27@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