Commit 3f60c32f authored by Saurav Girepunje's avatar Saurav Girepunje Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: core: remove condition with no effect



Remove the condition with no effect (if == else) in rtw_led.c
file.

Acked-by: default avatarPhillip Potter <phil@philpotter.co.uk>
Signed-off-by: default avatarSaurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YSFgrLUfXzgcT6k4@user


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f7766f1b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -145,9 +145,6 @@ static void SwLedBlink(struct LED_871x *pLed)
			_set_timer(&pLed->BlinkTimer, LED_BLINK_SLOWLY_INTERVAL);
			break;
		case LED_BLINK_WPS:
			if (pLed->BlinkingLedState == RTW_LED_ON)
				_set_timer(&pLed->BlinkTimer, LED_BLINK_LONG_INTERVAL);
			else
			_set_timer(&pLed->BlinkTimer, LED_BLINK_LONG_INTERVAL);
			break;
		default: