提交 e85b315e 编写于 作者: N Niklas Söderlund 提交者: Greg Kroah-Hartman

rtl8712: remove redundant if statement

Same result no matter what path is taken.
Signed-off-by: NNiklas Söderlund <niso@kth.se>
Acked-by: NLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 eb79b3e1
......@@ -267,12 +267,8 @@ 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);
_set_timer(&(pLed->BlinkTimer),
LED_BLINK_LONG_INTERVAL);
break;
default:
_set_timer(&(pLed->BlinkTimer),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册