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
|
@ -39,7 +39,7 @@ uint rtw_remainder_len(struct pkt_file *pfile)
|
|||
|
||||
void _rtw_open_pktfile(struct sk_buff *pktptr, struct pkt_file *pfile)
|
||||
{
|
||||
_func_enter_;
|
||||
|
||||
|
||||
pfile->pkt = pktptr;
|
||||
pfile->cur_addr = pktptr->data;
|
||||
|
@ -49,14 +49,14 @@ _func_enter_;
|
|||
|
||||
pfile->cur_buffer = pfile->buf_start;
|
||||
|
||||
_func_exit_;
|
||||
|
||||
}
|
||||
|
||||
uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen)
|
||||
{
|
||||
uint len = 0;
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
len = rtw_remainder_len(pfile);
|
||||
len = (rlen > len) ? len : rlen;
|
||||
|
@ -67,21 +67,21 @@ _func_enter_;
|
|||
pfile->cur_addr += len;
|
||||
pfile->pkt_len -= len;
|
||||
|
||||
_func_exit_;
|
||||
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
int rtw_endofpktfile(struct pkt_file *pfile)
|
||||
{
|
||||
_func_enter_;
|
||||
|
||||
|
||||
if (pfile->pkt_len == 0) {
|
||||
_func_exit_;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
|
|||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
s32 res = 0;
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("+xmit_enry\n"));
|
||||
|
||||
|
@ -282,7 +282,7 @@ drop_packet:
|
|||
|
||||
exit:
|
||||
|
||||
_func_exit_;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue