staging: rtl8188eu: Remove unused function rtw_setbbreg_cmd()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c87166299f
commit
298c7d35e8
2 changed files with 0 additions and 31 deletions
|
@ -482,36 +482,6 @@ exit:
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 rtw_setbbreg_cmd(struct adapter *padapter, u8 offset, u8 val)
|
|
||||||
{
|
|
||||||
struct cmd_obj *ph2c;
|
|
||||||
struct writeBB_parm *pwritebbparm;
|
|
||||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
|
||||||
u8 res = _SUCCESS;
|
|
||||||
|
|
||||||
ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL);
|
|
||||||
if (ph2c == NULL) {
|
|
||||||
res = _FAIL;
|
|
||||||
goto exit;
|
|
||||||
}
|
|
||||||
pwritebbparm = kzalloc(sizeof(struct writeBB_parm), GFP_KERNEL);
|
|
||||||
|
|
||||||
if (pwritebbparm == NULL) {
|
|
||||||
kfree(ph2c);
|
|
||||||
res = _FAIL;
|
|
||||||
goto exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
init_h2fwcmd_w_parm_no_rsp(ph2c, pwritebbparm, GEN_CMD_CODE(_SetBBReg));
|
|
||||||
|
|
||||||
pwritebbparm->offset = offset;
|
|
||||||
pwritebbparm->value = val;
|
|
||||||
|
|
||||||
res = rtw_enqueue_cmd(pcmdpriv, ph2c);
|
|
||||||
exit:
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
u8 rtw_getbbreg_cmd(struct adapter *padapter, u8 offset, u8 *pval)
|
u8 rtw_getbbreg_cmd(struct adapter *padapter, u8 offset, u8 *pval)
|
||||||
{
|
{
|
||||||
struct cmd_obj *ph2c;
|
struct cmd_obj *ph2c;
|
||||||
|
|
|
@ -742,7 +742,6 @@ u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms,
|
||||||
u8 rtw_setopmode_cmd(struct adapter *padapter,
|
u8 rtw_setopmode_cmd(struct adapter *padapter,
|
||||||
enum ndis_802_11_network_infra networktype);
|
enum ndis_802_11_network_infra networktype);
|
||||||
u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
|
u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
|
||||||
u8 rtw_setbbreg_cmd(struct adapter *padapter, u8 offset, u8 val);
|
|
||||||
u8 rtw_setrfreg_cmd(struct adapter *padapter, u8 offset, u32 val);
|
u8 rtw_setrfreg_cmd(struct adapter *padapter, u8 offset, u32 val);
|
||||||
u8 rtw_getbbreg_cmd(struct adapter *padapter, u8 offset, u8 *pval);
|
u8 rtw_getbbreg_cmd(struct adapter *padapter, u8 offset, u8 *pval);
|
||||||
u8 rtw_getrfreg_cmd(struct adapter *padapter, u8 offset, u8 *pval);
|
u8 rtw_getrfreg_cmd(struct adapter *padapter, u8 offset, u8 *pval);
|
||||||
|
|
Loading…
Add table
Reference in a new issue