staging: rtl8188eu: Remove rtw_led_blink_cmd() function.
authornavin patidar <navin.patidar@gmail.com>
Sun, 20 Apr 2014 08:47:10 +0000 (14:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:59:50 +0000 (15:59 -0700)
rtw_led_blink_cmd() isn't being used by driver.

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

index c2fb050337d505f475b29b1646bc07eebfb896bb..1e0b8b49fc1270c0073a440f1b282a4e89ff1b2f 100644 (file)
@@ -1431,41 +1431,6 @@ exit:
        return res;
 }
 
-u8 rtw_led_blink_cmd(struct adapter *padapter, struct LED_871x *pLed)
-{
-       struct  cmd_obj *pcmdobj;
-       struct  LedBlink_param *ledBlink_param;
-       struct  cmd_priv   *pcmdpriv = &padapter->cmdpriv;
-
-       u8      res = _SUCCESS;
-
-
-       RT_TRACE(_module_rtl871x_cmd_c_, _drv_notice_, ("+rtw_led_blink_cmd\n"));
-
-       pcmdobj = (struct cmd_obj *)rtw_zmalloc(sizeof(struct   cmd_obj));
-       if (pcmdobj == NULL) {
-               res = _FAIL;
-               goto exit;
-       }
-
-       ledBlink_param = (struct        LedBlink_param *)rtw_zmalloc(sizeof(struct      LedBlink_param));
-       if (ledBlink_param == NULL) {
-               kfree(pcmdobj);
-               res = _FAIL;
-               goto exit;
-       }
-
-       ledBlink_param->pLed = pLed;
-
-       init_h2fwcmd_w_parm_no_rsp(pcmdobj, ledBlink_param, GEN_CMD_CODE(_LedBlink));
-       res = rtw_enqueue_cmd(pcmdpriv, pcmdobj);
-
-exit:
-
-
-       return res;
-}
-
 u8 rtw_set_csa_cmd(struct adapter *padapter, u8 new_ch_no)
 {
        struct  cmd_obj *pcmdobj;
index 3d347029ff7ab013e2617b5e650ce41750fc24fa..66467f711a59956b2c501f1d9b550e210016cdbb 100644 (file)
@@ -807,7 +807,6 @@ u8 rtw_chk_hi_queue_cmd(struct adapter *padapter);
 u8 rtw_set_ch_cmd(struct adapter *padapter, u8 ch, u8 bw, u8 ch_offset,
                  u8 enqueue);
 u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan, u8 enqueue);
-u8 rtw_led_blink_cmd(struct adapter *padapter, struct LED_871x *pLed);
 u8 rtw_set_csa_cmd(struct adapter *padapter, u8 new_ch_no);
 u8 rtw_tdls_cmd(struct adapter *padapter, u8 *addr, u8 option);