Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Niklas Söderlund and committed by
Greg Kroah-Hartman
e85b315e eb79b3e1

+2 -6
+2 -6
drivers/staging/rtl8712/rtl8712_led.c
··· 267 267 LED_BLINK_SLOWLY_INTERVAL); 268 268 break; 269 269 case LED_BLINK_WPS: 270 - if (pLed->BlinkingLedState == LED_ON) 271 - _set_timer(&(pLed->BlinkTimer), 272 - LED_BLINK_LONG_INTERVAL); 273 - else 274 - _set_timer(&(pLed->BlinkTimer), 275 - LED_BLINK_LONG_INTERVAL); 270 + _set_timer(&(pLed->BlinkTimer), 271 + LED_BLINK_LONG_INTERVAL); 276 272 break; 277 273 default: 278 274 _set_timer(&(pLed->BlinkTimer),