diff options
author | 2021-04-07 15:49:43 +0200 | |
---|---|---|
committer | 2021-04-07 17:13:04 +0200 | |
commit | a45759d2a47c0044e063ba246a47326ad2db4a10 (patch) | |
tree | 226e7610655ce559c7663f70981b66f0476bff6e /drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | |
parent | staging: rtl8723bs: split long lines (diff) | |
download | linux-dev-a45759d2a47c0044e063ba246a47326ad2db4a10.tar.xz linux-dev-a45759d2a47c0044e063ba246a47326ad2db4a10.zip |
staging: rtl8723bs: remove unnecessary parentheses
fix following post-commit checkpatch issue:
CHECK: Unnecessary parentheses around
'padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X'
84: FILE: drivers/staging/rtl8723bs/core/rtw_pwrctrl.c:335:
+ if ((padapter->securitypriv.dot11AuthAlgrthm
== dot11AuthAlgrthm_8021X) &&
+ !(padapter->securitypriv.binstallGrpkey))
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/a45ec5059ea315db6509989f320340c1816068c5.1617802415.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/core/rtw_pwrctrl.c')
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c index 893c7a417587..f7465cf90c46 100644 --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c @@ -332,8 +332,8 @@ static u8 PS_RDY_CHECK(struct adapter *padapter) ) return false; - if ((padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) && - !(padapter->securitypriv.binstallGrpkey)) + if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && + !padapter->securitypriv.binstallGrpkey) return false; if (!rtw_cfg80211_pwr_mgmt(padapter)) |