aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-08-22 13:40:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-26 12:20:25 +0200
commit2a3afb168ea7002884ce7e56f5c2e061420a3bcf (patch)
treeef6bf4f4bb8db8b3e5dbedf4cd3307789d19fed2 /drivers/staging/r8188eu
parentstaging: r8188eu: remove dead code (diff)
downloadlinux-dev-2a3afb168ea7002884ce7e56f5c2e061420a3bcf.tar.xz
linux-dev-2a3afb168ea7002884ce7e56f5c2e061420a3bcf.zip
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/r8188eu')
-rw-r--r--drivers/staging/r8188eu/core/rtw_led.c4
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;