staging: rtl8188eu: Simplify led blinking strategy code.
authornavin patidar <navin.patidar@gmail.com>
Sun, 20 Apr 2014 08:47:13 +0000 (14:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:59:50 +0000 (15:59 -0700)
commit87e28d690d4af55b80517cbd8a7571391be4d98f
tree810d54bf6583fb569049a9475bcaeb047dc455f6
parent59eb69768a0e882e49c551bf8912be34fd129285
staging: rtl8188eu: Simplify led blinking strategy code.

driver has code to blink the led in 7 different ways.
struct led_priv contains an enum LED_STRATEGY_871x variable which is
initialized to SW_LED_MODE1 inside rtl8188eu_InitSwLeds() function.
it means driver is hard coded to use only SW_LED_MODE1 blinking strategy.
so we can remove the code related to other blinking strategies
e.g. SW_LED_MODE[0|2|3|4|5|6].

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_led.c