staging: r8188eu: remove rtw_createbss_cmd_ex()
Function rtw_createbss_cmd_ex() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210923190920.3580-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
47f673fab2
Коммит
0ea2cd06a5
|
@ -717,32 +717,6 @@ exit:
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_createbss_cmd_ex(struct adapter *padapter, unsigned char *pbss, unsigned int sz)
|
||||
{
|
||||
struct cmd_obj *pcmd;
|
||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||
u8 res = _SUCCESS;
|
||||
|
||||
pcmd = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC);
|
||||
if (!pcmd) {
|
||||
res = _FAIL;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&pcmd->list);
|
||||
pcmd->cmdcode = GEN_CMD_CODE(_CreateBss);
|
||||
pcmd->parmbuf = pbss;
|
||||
pcmd->cmdsz = sz;
|
||||
pcmd->rsp = NULL;
|
||||
pcmd->rspsz = 0;
|
||||
|
||||
res = rtw_enqueue_cmd(pcmdpriv, pcmd);
|
||||
|
||||
exit:
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork)
|
||||
{
|
||||
u8 res = _SUCCESS;
|
||||
|
|
|
@ -750,8 +750,6 @@ u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid,
|
|||
int ssid_num, struct rtw_ieee80211_channel *ch,
|
||||
int ch_num);
|
||||
u8 rtw_createbss_cmd(struct adapter *padapter);
|
||||
u8 rtw_createbss_cmd_ex(struct adapter *padapter, unsigned char *pbss,
|
||||
unsigned int sz);
|
||||
u8 rtw_setphy_cmd(struct adapter *padapter, u8 modem, u8 ch);
|
||||
u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key);
|
||||
u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue);
|
||||
|
|
Загрузка…
Ссылка в новой задаче