From: Michael Straube Date: Sat, 4 Aug 2018 14:35:41 +0000 (+0200) Subject: staging: rtl8188eu: remove unnecessary parentheses X-Git-Tag: v4.19-rc1~101^2~58 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5eb438c9d23622595f6d599e33b11f179d50c3a6;p=uclinux-h8%2Flinux.git staging: rtl8188eu: remove unnecessary parentheses Remove unnecessary parentheses from if conditions. Signed-off-by: Michael Straube Signed-off-by: Greg Kroah-Hartman --- 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; }