summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-07-10 09:12:11 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 21:15:20 -0700
commit949d4a0d3111ed1dd4455011927367e3a0c7ba4d (patch)
tree3f2123e1bab0001a970b2737508a671de62d4f3d /drivers/staging
parent7fd600f6199ee36c604640f21a13a57c128f3cd9 (diff)
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: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_mlme_ext.c7
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_cmd.h2
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_mlme_ext.h1
3 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
index 662096dce823..e774a6fa71bb 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
@@ -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;
-}
diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h b/drivers/staging/rtl8188eu/include/rtw_cmd.h
index 088db152af35..f5e2c4580c2e 100644
--- a/drivers/staging/rtl8188eu/include/rtw_cmd.h
+++ b/drivers/staging/rtl8188eu/include/rtw_cmd.h
@@ -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
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
index d5c02f268cc2..7fa1c0569329 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
@@ -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