All of lore.kernel.org
 help / color / mirror / Atom feed
From: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Subject: [Outreachy kernel] [PATCH 2/8] staging: rtl8723bs: hal: rtl8723b_phycfg.c: Remove unnecessary parentheses
Date: Sat, 30 Mar 2019 10:42:41 +0530	[thread overview]
Message-ID: <3edc2a64cc963cd46290b9b1dd7fcd7cad07f7ef.1553921776.git.payal.s.kshirsagar.98@gmail.com> (raw)
In-Reply-To: <cover.1553921776.git.payal.s.kshirsagar.98@gmail.com>
In-Reply-To: <cover.1553921776.git.payal.s.kshirsagar.98@gmail.com>

Challenge suggested by coccinelle.
Remove unnecessary parentheses around an expression.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
---
 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
index 78a4828..0fd7a9a 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
@@ -827,7 +827,7 @@ static u8 phy_GetSecondaryChnl_8723B(struct adapter *Adapter)
 	}
 
 	RT_TRACE(_module_hal_init_c_, _drv_info_, ("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20)));
-	return  ((SCSettingOf40 << 4) | SCSettingOf20);
+	return  (SCSettingOf40 << 4) | SCSettingOf20;
 }
 
 static void phy_PostSetBwMode8723B(struct adapter *Adapter)
-- 
2.7.4



  parent reply	other threads:[~2019-03-30  5:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-30  5:12 [Outreachy kernel] [PATCH 0/8]staging: rtl8723bs: Remove unnecessary parentheses Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 1/8] staging: rtl8723bs: hal: sdio_ops.c: " Payal Kshirsagar
2019-03-30  5:12 ` Payal Kshirsagar [this message]
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 3/8] staging: rtl8723bs: hal: hal_com.c: " Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 4/8] staging: rtl8723bs: hal: odm_HWConfig.c: " Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 5/8] staging: rtl8723bs: core: rtw_mlme.c: " Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 6/8] staging: rtl8723bs: core: rtw_wlan_util.c: " Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 7/8] staging: rtl8723bs: core: rtw_ieee80211.c: " Payal Kshirsagar
2019-03-30  5:12 ` [Outreachy kernel] [PATCH 8/8] staging: rtl8723bs: os_dep: ioctl_linux.c: " Payal Kshirsagar
2019-03-30  6:43   ` Julia Lawall
2019-03-30 12:34     ` Payal Kshirsagar

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=3edc2a64cc963cd46290b9b1dd7fcd7cad07f7ef.1553921776.git.payal.s.kshirsagar.98@gmail.com \
    --to=payal.s.kshirsagar.98@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.