All of lore.kernel.org
 help / color / mirror / Atom feed
From: Namrata A Shettar <namrataashettar@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Malcolm Priestley <tvboxspy@gmail.com>,
	 Alison Schofield <amsfield22@gmail.com>,
	maomao xu <albert008.xu@gmail.com>,
	 Othmar Pasteka <pasteka@kabsi.at>,
	Parth Sane <laerdevstudios@gmail.com>,
	 Wolfram Sang <wsa-dev@sang-engineering.com>,
	 outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: [PATCH 6/6] staging: vt6656: rxtx: Fix multiple assignments
Date: Thu, 15 Sep 2016 03:46:37 +0530	[thread overview]
Message-ID: <CAFrQyDGAP0UTFhwaidjYrcbijgtoP7jFWRxa2GZiouZ4dnzWcw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

This patch fixes checkpatch issue of multiple assignments.

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index a8553e3a..647220d 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -166,8 +166,9 @@ static __le16 vnt_get_rtscts_rsvtime_le(struct
vnt_private *priv,
        } else if (rsv_type == 2) {
                rts_time = vnt_get_frame_time(priv->preamble_type, pkt_type,
                        20, priv->top_ofdm_basic_rate);
-               cts_time = ack_time = vnt_get_frame_time(priv->pream
ble_type,
+               cts_time = vnt_get_frame_time(priv->preamble_type,
                        pkt_type, 14, priv->top_ofdm_basic_rate);
+               ack_time = cts_time;
        } else if (rsv_type == 3) {
                cts_time = vnt_get_frame_time(priv->preamble_type, pkt_type,
                        14, priv->top_cck_basic_rate);

--
2.7.4

[-- Attachment #2: Type: text/html, Size: 1597 bytes --]

             reply	other threads:[~2016-09-14 22:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 22:16 Namrata A Shettar [this message]
2016-09-15  5:15 ` [Outreachy kernel] [PATCH 6/6] staging: vt6656: rxtx: Fix multiple assignments Julia Lawall

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=CAFrQyDGAP0UTFhwaidjYrcbijgtoP7jFWRxa2GZiouZ4dnzWcw@mail.gmail.com \
    --to=namrataashettar@gmail.com \
    --cc=albert008.xu@gmail.com \
    --cc=amsfield22@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=laerdevstudios@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    --cc=pasteka@kabsi.at \
    --cc=tvboxspy@gmail.com \
    --cc=wsa-dev@sang-engineering.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.