staging: r8188eu: remove unnecessary parentheses
authorMichael Straube <straube.linux@gmail.com>
Sun, 22 Aug 2021 11:40:14 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 10:20:25 +0000 (12:20 +0200)
Remove unnecessary parentheses to improve readability.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210822114014.21584-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c

index 29c48f1a4fec6f740e81644f8a553f808c54e962..cd27873c3e639f8fbc52f430552cd141901bbd6a 100644 (file)
@@ -121,9 +121,9 @@ static void SwLedBlink(struct LED_871x *pLed)
        }
 
        if (bStopBlinking) {
-               if ((check_fwstate(pmlmepriv, _FW_LINKED)) && (!pLed->bLedOn)) {
+               if (check_fwstate(pmlmepriv, _FW_LINKED) && !pLed->bLedOn) {
                        SwLedOn(padapter, pLed);
-               } else if ((check_fwstate(pmlmepriv, _FW_LINKED)) &&  pLed->bLedOn) {
+               } else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) {
                        SwLedOff(padapter, pLed);
                }
                pLed->BlinkTimes = 0;