mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shubham Singh <dhoni.singh094@gmail.com>
To: forest@alittletooquite.net
Cc: gregkh@linuxfoundation.org, devel@driver.osuosl.org,
	linux-kernel@vger.kernel.org,
	shubhsherl <dhoni.singh094@gmail.com>
Subject: [PATCH] Staging: vt6656: baseband.c: fixed unnecessary paranthesis
Date: Sat, 29 Sep 2018 14:28:54 +0530	[thread overview]
Message-ID: <20180929085854.15880-1-dhoni.singh094@gmail.com> (raw)

From: shubhsherl <dhoni.singh094@gmail.com>

Fixed a coding line issue.

Signed-off-by: shubhsherl <dhoni.singh094@gmail.com>
---
 drivers/staging/vt6656/baseband.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c
index b29ba237fa29..540cc9eafd07 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -382,8 +382,8 @@ int vnt_vt3184_init(struct vnt_private *priv)
 
 	dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type);
 
-	if ((priv->rf_type == RF_AL2230) ||
-	    (priv->rf_type == RF_AL2230S)) {
+	if (priv->rf_type == RF_AL2230 ||
+	    priv->rf_type == RF_AL2230S) {
 		priv->bb_rx_conf = vnt_vt3184_al2230[10];
 		length = sizeof(vnt_vt3184_al2230);
 		addr = vnt_vt3184_al2230;
@@ -454,8 +454,8 @@ int vnt_vt3184_init(struct vnt_private *priv)
 	vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0,
 			MESSAGE_REQUEST_BBAGC, length_agc, array);
 
-	if ((priv->rf_type == RF_VT3226) ||
-	    (priv->rf_type == RF_VT3342A0)) {
+	if (priv->rf_type == RF_VT3226 ||
+	    priv->rf_type == RF_VT3342A0) {
 		vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG,
 				   MAC_REG_ITRTMSET, 0x23);
 		vnt_mac_reg_bits_on(priv, MAC_REG_PAPEDELAY, 0x01);
-- 
2.18.0


             reply	other threads:[~2018-09-29  8:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29  8:58 Shubham Singh [this message]
2018-09-29  9:34 ` 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=20180929085854.15880-1-dhoni.singh094@gmail.com \
    --to=dhoni.singh094@gmail.com \
    --cc=devel@driver.osuosl.org \
    --cc=forest@alittletooquite.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome