summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-08-04 16:35:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-05 16:23:28 +0200
commit5eb438c9d23622595f6d599e33b11f179d50c3a6 (patch)
treee15d84858a18b5ea93e0037e06787d88561ed343
parentac588ce4b5163199455b3dd8fa589f5e4eb56152 (diff)
downloadlinux-5eb438c9d23622595f6d599e33b11f179d50c3a6.tar.gz
linux-5eb438c9d23622595f6d599e33b11f179d50c3a6.tar.bz2
linux-5eb438c9d23622595f6d599e33b11f179d50c3a6.zip
staging: rtl8188eu: remove unnecessary parentheses
Remove unnecessary parentheses from if conditions. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_iol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_iol.c b/drivers/staging/rtl8188eu/core/rtw_iol.c
index f7a86eac738e..fc3c66201e59 100644
--- a/drivers/staging/rtl8188eu/core/rtw_iol.c
+++ b/drivers/staging/rtl8188eu/core/rtw_iol.c
@@ -12,8 +12,8 @@ bool rtw_iol_applied(struct adapter *adapter)
if (adapter->registrypriv.fw_iol == 1)
return true;
- if ((adapter->registrypriv.fw_iol == 2) &&
- (!adapter_to_dvobj(adapter)->ishighspeed))
+ if (adapter->registrypriv.fw_iol == 2 &&
+ !adapter_to_dvobj(adapter)->ishighspeed)
return true;
return false;
}