diff options
author | Michael Straube <straube.linux@gmail.com> | 2021-08-22 13:40:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-26 12:20:25 +0200 |
commit | 2a3afb168ea7002884ce7e56f5c2e061420a3bcf (patch) | |
tree | ef6bf4f4bb8db8b3e5dbedf4cd3307789d19fed2 /drivers/staging | |
parent | f9f72f7f722e32d8f5645e53c1ca90347dedc95c (diff) |
staging: r8188eu: remove unnecessary parentheses
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/r8188eu/core/rtw_led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_led.c b/drivers/staging/r8188eu/core/rtw_led.c index 29c48f1a4fec..cd27873c3e63 100644 --- a/drivers/staging/r8188eu/core/rtw_led.c +++ b/drivers/staging/r8188eu/core/rtw_led.c @@ -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; |