Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e85b315e authored by Niklas Söderlund's avatar Niklas Söderlund Committed by Greg Kroah-Hartman
Browse files

rtl8712: remove redundant if statement



Same result no matter what path is taken.

Signed-off-by: default avatarNiklas Söderlund <niso@kth.se>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eb79b3e1
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -267,10 +267,6 @@ static void SwLedBlink(struct LED_871x *pLed)
				   LED_BLINK_SLOWLY_INTERVAL);
			break;
		case LED_BLINK_WPS:
			if (pLed->BlinkingLedState == LED_ON)
				_set_timer(&(pLed->BlinkTimer),
					   LED_BLINK_LONG_INTERVAL);
			else
			_set_timer(&(pLed->BlinkTimer),
					LED_BLINK_LONG_INTERVAL);
			break;