mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
staging: r8188eu: remove rtw_led_blink_cmd()
Function rtw_led_blink_cmd() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210923190920.3580-7-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cca080a9a8
commit
2b8e9985a6
@@ -1193,37 +1193,6 @@ exit:
|
||||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_led_blink_cmd(struct adapter *padapter, struct LED_871x *pLed)
|
||||
{
|
||||
struct cmd_obj *pcmdobj;
|
||||
struct LedBlink_param *ledBlink_param;
|
||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||
|
||||
u8 res = _SUCCESS;
|
||||
|
||||
pcmdobj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC);
|
||||
if (!pcmdobj) {
|
||||
res = _FAIL;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
ledBlink_param = kzalloc(sizeof(struct LedBlink_param), GFP_ATOMIC);
|
||||
if (!ledBlink_param) {
|
||||
kfree(pcmdobj);
|
||||
res = _FAIL;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
ledBlink_param->pLed = pLed;
|
||||
|
||||
init_h2fwcmd_w_parm_no_rsp(pcmdobj, ledBlink_param, GEN_CMD_CODE(_LedBlink));
|
||||
res = rtw_enqueue_cmd(pcmdpriv, pcmdobj);
|
||||
|
||||
exit:
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_set_csa_cmd(struct adapter *padapter, u8 new_ch_no)
|
||||
{
|
||||
struct cmd_obj *pcmdobj;
|
||||
|
||||
@@ -781,7 +781,6 @@ u8 rtw_chk_hi_queue_cmd(struct adapter*padapter);
|
||||
|
||||
u8 rtw_set_ch_cmd(struct adapter*padapter, u8 ch, u8 bw, u8 ch_offset, u8 enqueue);
|
||||
u8 rtw_set_chplan_cmd(struct adapter*padapter, u8 chplan, u8 enqueue);
|
||||
u8 rtw_led_blink_cmd(struct adapter*padapter, struct LED_871x * pLed);
|
||||
u8 rtw_set_csa_cmd(struct adapter*padapter, u8 new_ch_no);
|
||||
u8 rtw_tdls_cmd(struct adapter *padapter, u8 *addr, u8 option);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user