mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 10:12:16 +09:00
staging: rtl8188eu: Remove command _Set_H2C_MSG and its handler
_Set_H2C_MSG 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
949d4a0d31
commit
563c8ad924
@@ -5493,14 +5493,6 @@ _abort_event_:
|
||||
return H2C_SUCCESS;
|
||||
}
|
||||
|
||||
u8 h2c_msg_hdl(struct adapter *padapter, unsigned char *pbuf)
|
||||
{
|
||||
if (!pbuf)
|
||||
return H2C_PARAMETERS_ERROR;
|
||||
|
||||
return H2C_SUCCESS;
|
||||
}
|
||||
|
||||
u8 tx_beacon_hdl(struct adapter *padapter, unsigned char *pbuf)
|
||||
{
|
||||
if (send_beacon(padapter) == _FAIL) {
|
||||
|
||||
@@ -413,7 +413,6 @@ enum rtw_h2c_cmd {
|
||||
GEN_CMD_CODE(_TX_Beacon),
|
||||
GEN_CMD_CODE(_Set_MLME_EVT),
|
||||
GEN_CMD_CODE(_Set_Drv_Extra),
|
||||
GEN_CMD_CODE(_Set_H2C_MSG),
|
||||
GEN_CMD_CODE(_SetChannelPlan),
|
||||
|
||||
MAX_H2CCMD
|
||||
@@ -435,7 +434,6 @@ static struct _cmd_callback rtw_cmd_callback[] = {
|
||||
{GEN_CMD_CODE(_TX_Beacon), NULL},
|
||||
{GEN_CMD_CODE(_Set_MLME_EVT), NULL},
|
||||
{GEN_CMD_CODE(_Set_Drv_Extra), NULL},
|
||||
{GEN_CMD_CODE(_Set_H2C_MSG), NULL},
|
||||
{GEN_CMD_CODE(_SetChannelPlan), NULL},
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -722,7 +722,6 @@ static struct cmd_hdl wlancmds[] = {
|
||||
GEN_MLME_EXT_HANDLER(sizeof(struct wlan_bssid_ex), tx_beacon_hdl)
|
||||
GEN_MLME_EXT_HANDLER(0, mlme_evt_hdl)
|
||||
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)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user