rtl8712: remove redundant if statement

Same result no matter what path is taken.

Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Niklas Söderlund 2013-02-27 20:40:06 +01:00 committed by Greg Kroah-Hartman
parent eb79b3e1f0
commit e85b315e2c

View file

@ -267,12 +267,8 @@ static void SwLedBlink(struct LED_871x *pLed)
LED_BLINK_SLOWLY_INTERVAL); LED_BLINK_SLOWLY_INTERVAL);
break; break;
case LED_BLINK_WPS: case LED_BLINK_WPS:
if (pLed->BlinkingLedState == LED_ON) _set_timer(&(pLed->BlinkTimer),
_set_timer(&(pLed->BlinkTimer), LED_BLINK_LONG_INTERVAL);
LED_BLINK_LONG_INTERVAL);
else
_set_timer(&(pLed->BlinkTimer),
LED_BLINK_LONG_INTERVAL);
break; break;
default: default:
_set_timer(&(pLed->BlinkTimer), _set_timer(&(pLed->BlinkTimer),