Remove more unused variables from hal files.

This commit is contained in:
Álvaro Fernández Rojas 2013-09-27 22:01:01 +02:00
parent 9365e8f151
commit 04251b45bb
3 changed files with 3 additions and 9 deletions

View file

@ -612,6 +612,9 @@ exit:
void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *adapt, u8 mstatus) void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *adapt, u8 mstatus)
{ {
#ifdef CONFIG_WOWLAN
struct joinbssrpt_parm JoinBssRptParm;
#endif /* CONFIG_WOWLAN */
struct hal_data_8188e *haldata = GET_HAL_DATA(adapt); struct hal_data_8188e *haldata = GET_HAL_DATA(adapt);
struct mlme_ext_priv *pmlmeext = &(adapt->mlmeextpriv); struct mlme_ext_priv *pmlmeext = &(adapt->mlmeextpriv);
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
@ -793,8 +796,6 @@ _func_exit_;
void rtl8188es_set_wowlan_cmd(struct adapter *adapt, u8 enable) void rtl8188es_set_wowlan_cmd(struct adapter *adapt, u8 enable)
{ {
u8 res = _SUCCESS; u8 res = _SUCCESS;
u32 test = 0;
struct recv_priv *precvpriv = &adapt->recvpriv;
struct setwowlan_parm pwowlan_parm; struct setwowlan_parm pwowlan_parm;
struct setaoac_glocal_info paoac_global_info_parm; struct setaoac_glocal_info paoac_global_info_parm;
struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv; struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv;

View file

@ -775,8 +775,6 @@ SetFwRelatedForWoWLAN8188ES(
) )
{ {
int status = _FAIL; int status = _FAIL;
struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter);
u8 bRecover = false;
/* */ /* */
/* 1. Before WoWLAN we need to re-download WoWLAN Fw. */ /* 1. Before WoWLAN we need to re-download WoWLAN Fw. */
/* */ /* */

View file

@ -2216,13 +2216,8 @@ _func_enter_;
case HW_VAR_WOWLAN: case HW_VAR_WOWLAN:
{ {
struct wowlan_ioctl_param *poidparam; struct wowlan_ioctl_param *poidparam;
struct recv_buf *precvbuf;
int res, i;
u32 tmp;
u16 len = 0;
u8 mstatus = (*(u8 *)val); u8 mstatus = (*(u8 *)val);
u8 trycnt = 100; u8 trycnt = 100;
u8 data[4];
poidparam = (struct wowlan_ioctl_param *)val; poidparam = (struct wowlan_ioctl_param *)val;
switch (poidparam->subcode) { switch (poidparam->subcode) {