Commit 462eb49e authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Fold power_saving_wk_hdl() into rtw_drvextra_cmd_hdl23a()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c742e339
...@@ -1113,11 +1113,6 @@ int rtw_lps_ctrl_wk_cmd23a(struct rtw_adapter *padapter, ...@@ -1113,11 +1113,6 @@ int rtw_lps_ctrl_wk_cmd23a(struct rtw_adapter *padapter,
return res; return res;
} }
static void power_saving_wk_hdl(struct rtw_adapter *padapter, u8 *pbuf, int sz)
{
rtw_ps_processor23a(padapter);
}
int rtw_ps_cmd23a(struct rtw_adapter*padapter) int rtw_ps_cmd23a(struct rtw_adapter*padapter)
{ {
struct cmd_obj *ppscmd; struct cmd_obj *ppscmd;
...@@ -1332,8 +1327,7 @@ int rtw_drvextra_cmd_hdl23a(struct rtw_adapter *padapter, const u8 *pbuf) ...@@ -1332,8 +1327,7 @@ int rtw_drvextra_cmd_hdl23a(struct rtw_adapter *padapter, const u8 *pbuf)
pdrvextra_cmd->type_size); pdrvextra_cmd->type_size);
break; break;
case POWER_SAVING_CTRL_WK_CID: case POWER_SAVING_CTRL_WK_CID:
power_saving_wk_hdl(padapter, pdrvextra_cmd->pbuf, rtw_ps_processor23a(padapter);
pdrvextra_cmd->type_size);
break; break;
case LPS_CTRL_WK_CID: case LPS_CTRL_WK_CID:
lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size); lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment