OSDN Git Service

staging: rtl8188eu: remove unnecessary parentheses
authorMichael Straube <straube.linux@gmail.com>
Sat, 4 Aug 2018 14:35:41 +0000 (16:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:23:28 +0000 (16:23 +0200)
Remove unnecessary parentheses from if conditions.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_iol.c

index f7a86ea..fc3c662 100644 (file)
@@ -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;
 }