All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aybuke Ozdemir <aybuke.147@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: Aybuke Ozdemir <aybuke.147@gmail.com>
Subject: [PATCH 3/3] Staging: wilc1000: Remove unnecessary parentheses
Date: Sat, 17 Oct 2015 15:25:35 +0300	[thread overview]
Message-ID: <1445084735-20133-3-git-send-email-aybuke.147@gmail.com> (raw)
In-Reply-To: <1445084735-20133-2-git-send-email-aybuke.147@gmail.com>

Problem found using checkpatch.pl:
CHECK: Unnecessary parentheses around pstrNetworkInfo->u8SsidLen

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
---
 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index cea7c6f..427adfd 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -422,7 +422,7 @@ s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo)
 		pstrNetworkInfo->u64Tsf = u32Tsf_Lo | ((u64)u32Tsf_Hi << 32);
 
 		/* Get SSID */
-		get_ssid(pu8msa, pstrNetworkInfo->au8ssid, &(pstrNetworkInfo->u8SsidLen));
+		get_ssid(pu8msa, pstrNetworkInfo->au8ssid, &pstrNetworkInfo->u8SsidLen);
 
 		/* Get BSSID */
 		get_BSSID(pu8msa, pstrNetworkInfo->au8bssid);
-- 
1.9.1



  reply	other threads:[~2015-10-17 12:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-17 12:25 [PATCH 1/3] Staging: wilc1000: Remove multiple blank lines Aybuke Ozdemir
2015-10-17 12:25 ` [PATCH 2/3] Staging: wilc1000: Remove unnecessary else after return Aybuke Ozdemir
2015-10-17 12:25   ` Aybuke Ozdemir [this message]
2015-10-18 17:12     ` [Outreachy kernel] [PATCH 3/3] Staging: wilc1000: Remove unnecessary parentheses Daniel Baluta
2015-10-18 17:16       ` Daniel Baluta
2015-10-19  1:57         ` Greg KH
2015-10-18 17:10 ` [Outreachy kernel] [PATCH 1/3] Staging: wilc1000: Remove multiple blank lines Daniel Baluta

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=1445084735-20133-3-git-send-email-aybuke.147@gmail.com \
    --to=aybuke.147@gmail.com \
    --cc=outreachy-kernel@googlegroups.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.