mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f9f72f7f72
commit
2a3afb168e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue