Commit 949d4a0d authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Remove command _LedBlink and its handler

_LedBlink command is never issued by driver and its handler is a
dummy function.
Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7fd600f6
......@@ -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;
}
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment