mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
86fdc52e9a
commit
e91077579f
29 changed files with 671 additions and 746 deletions
|
@ -709,7 +709,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
|
||||
#define HAL_INIT_PROFILE_TAG(stage) do {} while (0)
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_BEGIN);
|
||||
|
||||
|
@ -967,7 +967,7 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
|
|||
|
||||
DBG_88E("%s in %dms\n", __func__, rtw_get_passing_time_ms(init_start_time));
|
||||
|
||||
_func_exit_;
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@ -1084,7 +1084,7 @@ static unsigned int rtl8188eu_inirp_init(struct adapter *Adapter)
|
|||
struct recv_priv *precvpriv = &(Adapter->recvpriv);
|
||||
u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
_read_port = pintfhdl->io_ops._read_port;
|
||||
|
||||
|
@ -1112,7 +1112,7 @@ exit:
|
|||
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("<=== usb_inirp_init\n"));
|
||||
|
||||
_func_exit_;
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@ -1402,7 +1402,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
|
|||
struct hal_data_8188e *haldata = GET_HAL_DATA(Adapter);
|
||||
struct dm_priv *pdmpriv = &haldata->dmpriv;
|
||||
struct odm_dm_struct *podmpriv = &haldata->odmpriv;
|
||||
_func_enter_;
|
||||
|
||||
|
||||
switch (variable) {
|
||||
case HW_VAR_MEDIA_STATUS:
|
||||
|
@ -1921,14 +1921,14 @@ _func_enter_;
|
|||
default:
|
||||
break;
|
||||
}
|
||||
_func_exit_;
|
||||
|
||||
}
|
||||
|
||||
static void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
|
||||
{
|
||||
struct hal_data_8188e *haldata = GET_HAL_DATA(Adapter);
|
||||
struct odm_dm_struct *podmpriv = &haldata->odmpriv;
|
||||
_func_enter_;
|
||||
|
||||
|
||||
switch (variable) {
|
||||
case HW_VAR_BASIC_RATE:
|
||||
|
@ -1980,7 +1980,7 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
|
||||
}
|
||||
|
||||
/* */
|
||||
|
@ -2302,7 +2302,7 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
|
|||
{
|
||||
struct hal_ops *halfunc = &adapt->HalFunc;
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
adapt->HalData = rtw_zmalloc(sizeof(struct hal_data_8188e));
|
||||
if (adapt->HalData == NULL)
|
||||
|
@ -2342,5 +2342,5 @@ _func_enter_;
|
|||
halfunc->interface_ps_func = &rtl8188eu_ps_func;
|
||||
|
||||
rtl8188e_set_hal_ops(halfunc);
|
||||
_func_exit_;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue