The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Patryk Gawroński" <gawronski1.6@gmail.com>
To: gregkh@linuxfoundation.org
Cc: dennylin0707@gmail.com, error27@gmail.com, fliegbert2@gmail.com,
	khomenkov@mailbox.org, nikolayof23@gmail.com,
	khushalchitturi@gmail.com, s9430939@naver.com,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	"Patryk Gawroński" <gawronski1.6@gmail.com>
Subject: [PATCH] staging: rtl8723bs: Remove multiple assignments
Date: Wed, 22 Jul 2026 14:26:18 +0200	[thread overview]
Message-ID: <20260722122618.41747-1-gawronski1.6@gmail.com> (raw)

Fix a checkpatch warning by splitting multiple assignments on a single
line into separate operations. This improves code readability and aligns
with kernel coding style guidelines.

Signed-off-by: Patryk Gawroński <gawronski1.6@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_xmit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index 16e6c9567224..7f183db72123 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -185,7 +185,8 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
 		pxmitbuf->phead = pxmitbuf->pbuf;
 		pxmitbuf->pend = pxmitbuf->pbuf + MAX_XMITBUF_SZ;
 		pxmitbuf->len = 0;
-		pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead;
+		pxmitbuf->pdata = pxmitbuf->phead;
+		pxmitbuf->ptail = pxmitbuf->phead;
 
 		pxmitbuf->flags = XMIT_VO_QUEUE;
 
-- 
2.55.0


             reply	other threads:[~2026-07-22 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-22 12:26 Patryk Gawroński [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-25 14:22 [PATCH] staging: rtl8723bs: Remove multiple assignments Simran Singhal

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=20260722122618.41747-1-gawronski1.6@gmail.com \
    --to=gawronski1.6@gmail.com \
    --cc=dennylin0707@gmail.com \
    --cc=error27@gmail.com \
    --cc=fliegbert2@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=khomenkov@mailbox.org \
    --cc=khushalchitturi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=nikolayof23@gmail.com \
    --cc=s9430939@naver.com \
    /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