staging: rtl8188eu: Remove unused macros.
authornavin patidar <navin.patidar@gmail.com>
Sun, 20 Apr 2014 08:47:16 +0000 (14:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:59:51 +0000 (15:59 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_led.h

index ed1c687f807945f11666df0c5fdfad1ed8da2939..2f81fabc3c02863af3085dacefeea984984088dd 100644 (file)
 #include <osdep_service.h>
 #include <drv_types.h>
 
-#define MSECS(t)        (HZ * ((t) / 1000) + (HZ * ((t) % 1000)) / 1000)
-
-#define LED_BLINK_NORMAL_INTERVAL              100
-#define LED_BLINK_SLOWLY_INTERVAL              200
-#define LED_BLINK_LONG_INTERVAL                        400
-
 #define LED_BLINK_NO_LINK_INTERVAL_ALPHA       1000
 #define LED_BLINK_LINK_INTERVAL_ALPHA          500     /* 500 */
 #define LED_BLINK_SCAN_INTERVAL_ALPHA          180     /* 150 */
 #define LED_BLINK_FASTER_INTERVAL_ALPHA                50
 #define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA    5000
 
-#define LED_BLINK_NORMAL_INTERVAL_NETTRONIX    100
-#define LED_BLINK_SLOWLY_INTERVAL_NETTRONIX    2000
-
-#define LED_BLINK_SLOWLY_INTERVAL_PORNET       1000
-#define LED_BLINK_NORMAL_INTERVAL_PORNET       100
-
-#define LED_BLINK_FAST_INTERVAL_BITLAND                30
-
-/*  060403, rcnjko: Customized for AzWave. */
-#define LED_CM2_BLINK_ON_INTERVAL              250
-#define LED_CM2_BLINK_OFF_INTERVAL             4750
-
-#define LED_CM8_BLINK_INTERVAL                 500     /* for QMI */
-#define LED_CM8_BLINK_OFF_INTERVAL             3750    /* for QMI */
-
-/*  080124, lanhsin: Customized for RunTop */
-#define LED_RunTop_BLINK_INTERVAL              300
-
-/*  060421, rcnjko: Customized for Sercomm Printer Server case. */
-#define LED_CM3_BLINK_INTERVAL                 1500
-
 enum LED_CTL_MODE {
        LED_CTL_POWER_ON = 1,
        LED_CTL_LINK = 2,
@@ -129,10 +102,6 @@ struct LED_871x {
        ((struct LED_871x *)_LED_871x)->CurrLedState == LED_BLINK_WPS_STOP || \
        ((struct LED_871x *)_LED_871x)->bLedWPSBlinkInProgress)
 
-#define IS_LED_BLINKING(_LED_871x)                                     \
-       (((struct LED_871x *)_LED_871x)->bLedWPSBlinkInProgress ||      \
-       ((struct LED_871x *)_LED_871x)->bLedScanBlinkInProgress)
-
 void LedControl8188eu(struct adapter *padapter, enum LED_CTL_MODE      LedAction);
 
 struct led_priv{