mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bruno Raoult <braoult@gmail.com>
To: gregkh@linuxfoundation.org, straube.linux@gmail.com,
	zhaoxiao@uniontech.com, dan.carpenter@oracle.com
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Bruno Raoult <braoult@gmail.com>
Subject: [PATCH 4/5] r8192U_wx.c: style: Unnecessary parentheses
Date: Fri, 26 Mar 2021 10:48:34 +0100	[thread overview]
Message-ID: <f42993e183e1127dcc9fce3f0ed42dd6d795c647.1616748922.git.braoult@gmail.com> (raw)
In-Reply-To: <cover.1616748922.git.braoult@gmail.com>

fix checkpatch.pl check:

CHECK: Unnecessary parentheses around expr
in drivers/staging/rtl8192u/r8192U_wx.c

Signed-off-by: Bruno Raoult <braoult@gmail.com>
---
 drivers/staging/rtl8192u/r8192U_wx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c
index 03791613853f..e0d32f7b0ace 100644
--- a/drivers/staging/rtl8192u/r8192U_wx.c
+++ b/drivers/staging/rtl8192u/r8192U_wx.c
@@ -778,7 +778,7 @@ static int r8192_wx_set_auth(struct net_device *dev,
 	struct r8192_priv *priv = ieee80211_priv(dev);
 
 	mutex_lock(&priv->wx_mutex);
-	ret = ieee80211_wx_set_auth(priv->ieee80211, info, &(data->param), extra);
+	ret = ieee80211_wx_set_auth(priv->ieee80211, info, &data->param, extra);
 	mutex_unlock(&priv->wx_mutex);
 	return ret;
 }
-- 
2.27.0


  parent reply	other threads:[~2021-03-26  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  9:48 [PATCH 0/5] staging: r8192U_wx.c: multiple style fixes Bruno Raoult
2021-03-26  9:48 ` [PATCH 1/5] r8192U_wx.c: style: alignment with open parenthesis Bruno Raoult
2021-03-26  9:48 ` [PATCH 2/5] r8192U_wx.c: style: spaces preferred around operators Bruno Raoult
2021-03-26  9:48 ` [PATCH 3/5] r8192U_wx.c: style: braces all arms of statement Bruno Raoult
2021-03-26  9:48 ` Bruno Raoult [this message]
2021-03-26  9:48 ` [PATCH 5/5] r8192U_wx.c: style: avoid multiple blank lines Bruno Raoult

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=f42993e183e1127dcc9fce3f0ed42dd6d795c647.1616748922.git.braoult@gmail.com \
    --to=braoult@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=straube.linux@gmail.com \
    --cc=zhaoxiao@uniontech.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

all inboxes | Powered by JetHome®