aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>2019-03-30 10:42:47 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-30 09:30:36 +0100
commit5b07a3905fc073519707fe6a1a409d265dcd59d1 (patch)
tree50c81d0cffe0b293bbfc1479c981fa384592ed91 /drivers/staging/rtl8723bs
parentstaging: rtl8723bs: core: rtw_ieee80211.c: Remove unnecessary parentheses (diff)
downloadlinux-dev-5b07a3905fc073519707fe6a1a409d265dcd59d1.tar.xz
linux-dev-5b07a3905fc073519707fe6a1a409d265dcd59d1.zip
staging: rtl8723bs: os_dep: ioctl_linux.c: Remove unnecessary parentheses
Challenge suggested by coccinelle. Remove unnecessary parentheses around an expression and fix identation issue. Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/os_dep/ioctl_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
index 4fcd404f0dfc..e3d356952875 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
@@ -961,7 +961,7 @@ static int rtw_wx_set_pmkid(struct net_device *dev,
if (pPMK->cmd == IW_PMKSA_ADD) {
DBG_871X("[rtw_wx_set_pmkid] IW_PMKSA_ADD!\n");
if (!memcmp(strIssueBssid, strZeroMacAddress, ETH_ALEN))
- return(intReturn);
+ return intReturn;
else
intReturn = true;