staging: rtl8188eu: Remove command _LedBlink and its handler
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:42:11 +0000 (09:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:15:20 +0000 (21:15 -0700)
_LedBlink command is never issued by driver and its handler is a
dummy function.

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

index 662096dce82333d4bb13e15211fd186819bd7540..e774a6fa71bb149ca61f66c0e738bbbc7710641e 100644 (file)
@@ -5593,10 +5593,3 @@ u8 set_chplan_hdl(struct adapter *padapter, unsigned char *pbuf)
 
        return  H2C_SUCCESS;
 }
-
-u8 led_blink_hdl(struct adapter *padapter, unsigned char *pbuf)
-{
-       if (!pbuf)
-               return H2C_PARAMETERS_ERROR;
-       return  H2C_SUCCESS;
-}
index 088db152af35e2b75da28ab988063df3d693a968..f5e2c4580c2e8ed3cf92d491e2a41f539a889295 100644 (file)
@@ -415,7 +415,6 @@ enum rtw_h2c_cmd {
        GEN_CMD_CODE(_Set_Drv_Extra),
        GEN_CMD_CODE(_Set_H2C_MSG),
        GEN_CMD_CODE(_SetChannelPlan),
-       GEN_CMD_CODE(_LedBlink),
 
        MAX_H2CCMD
 };
@@ -438,7 +437,6 @@ static struct _cmd_callback rtw_cmd_callback[] = {
        {GEN_CMD_CODE(_Set_Drv_Extra), NULL},
        {GEN_CMD_CODE(_Set_H2C_MSG), NULL},
        {GEN_CMD_CODE(_SetChannelPlan), NULL},
-       {GEN_CMD_CODE(_LedBlink), NULL},
 };
 #endif
 
index d5c02f268cc2f940ec0c107d33bc457a3d5469f3..7fa1c0569329ba769c64f0a7f597dc480404066c 100644 (file)
@@ -724,7 +724,6 @@ static struct cmd_hdl wlancmds[] = {
        GEN_MLME_EXT_HANDLER(0, rtw_drvextra_cmd_hdl)
        GEN_MLME_EXT_HANDLER(0, h2c_msg_hdl)
        GEN_MLME_EXT_HANDLER(sizeof(struct SetChannelPlan_param), set_chplan_hdl)
-       GEN_MLME_EXT_HANDLER(sizeof(struct LedBlink_param), led_blink_hdl)
 };
 
 #endif