From: Jes Sorensen Date: Tue, 1 Jul 2014 08:11:15 +0000 (+0200) Subject: staging: rtl8723au: Fold power_saving_wk_hdl() into rtw_drvextra_cmd_hdl23a() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=462eb49eae7060081d6e29e93c6defb866580e91;p=linux-beck.git staging: rtl8723au: Fold power_saving_wk_hdl() into rtw_drvextra_cmd_hdl23a() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c index 35f879eaa665..f44f9415a391 100644 --- a/drivers/staging/rtl8723au/core/rtw_cmd.c +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c @@ -1113,11 +1113,6 @@ exit: 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) { struct cmd_obj *ppscmd; @@ -1332,8 +1327,7 @@ int rtw_drvextra_cmd_hdl23a(struct rtw_adapter *padapter, const u8 *pbuf) pdrvextra_cmd->type_size); break; case POWER_SAVING_CTRL_WK_CID: - power_saving_wk_hdl(padapter, pdrvextra_cmd->pbuf, - pdrvextra_cmd->type_size); + rtw_ps_processor23a(padapter); break; case LPS_CTRL_WK_CID: lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size);