From: Alexander Vorwerk <alec@vc-celle.de>
To: forest@alittletooquiet.net, gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Alexander Vorwerk <alec@vc-celle.de>
Subject: [PATCH 1/2] staging: vt6655: remove multiple assignment
Date: Sun, 2 May 2021 23:08:25 +0200 [thread overview]
Message-ID: <20210502210826.10323-2-alec@vc-celle.de> (raw)
In-Reply-To: <20210502210826.10323-1-alec@vc-celle.de>
removing a multiple assignment coding style issue
reported by checkpatch.pl.
Signed-off-by: Alexander Vorwerk <alec@vc-celle.de>
---
drivers/staging/vt6655/device_main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 979165445d88..2e768181fa6a 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -673,7 +673,9 @@ static int device_init_td0_ring(struct vnt_private *priv)
if (i > 0)
priv->apTD0Rings[i - 1].next_desc = cpu_to_le32(priv->td0_pool_dma);
- priv->apTailTD[0] = priv->apCurrTD[0] = &priv->apTD0Rings[0];
+
+ priv->apTailTD[0] = &priv->apTD0Rings[0];
+ priv->apCurrTD[0] = &priv->apTD0Rings[0];
return 0;
--
2.17.1
next prev parent reply other threads:[~2021-05-02 21:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-02 21:08 [PATCH 0/2] staging: vt6655: remove multiple assignments Alexander Vorwerk
2021-05-02 21:08 ` Alexander Vorwerk [this message]
2021-05-02 21:08 ` [PATCH 2/2] staging: vt6655: remove multiple assignment Alexander Vorwerk
2021-05-03 16:42 ` [PATCH 0/2] staging: vt6655: remove multiple assignments 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=20210502210826.10323-2-alec@vc-celle.de \
--to=alec@vc-celle.de \
--cc=forest@alittletooquiet.net \
--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;
as well as URLs for NNTP newsgroup(s).