staging: r8188eu: core: remove unused variable sz
PATCH 1/1 staging: r8188eu: core: remove unused variable sz
Remove the unused variable sz from function dynamic_chk_wk_hdl. This variable is not used on function.
Signed-off-by Saurav Girepunje <[email protected]>
--- drivers/staging/r8188eu/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/r8188eu/core/rtw_cmd.c +2 -2
@@ -961,7 +961,7 @@ static void traffic_status_watchdog(struct adapter *padapter) pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic; } -static void dynamic_chk_wk_hdl (struct adapter *padapter,u8 *pbuf,int sz) +static void dynamic_chk_wk_hdl (struct adapter *padapter,u8 *pbuf) {struct mlme_priv *pmlmepriv;
@@ -1382,7 +1382,7 @@ u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf)switch (pdrvextra_cmd->ec_id) {case DYNAMIC_CHK_WK_CID : -dynamic_chk_wk_hdl (padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); +dynamic_chk_wk_hdl (padapter, pdrvextra_cmd->pbuf);break ;case POWER_SAVING_CTRL_WK_CID :rtw_ps_processor (padapter);
--
2.33.0