mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-01 03:05:34 +00:00
Remove unused debug function
This commit is contained in:
parent
3255bcf093
commit
f218547ef9
@ -139,7 +139,6 @@ typedef enum mstat_status {
|
|||||||
void rtw_mstat_update(const enum mstat_f flags, const MSTAT_STATUS status, u32 sz);
|
void rtw_mstat_update(const enum mstat_f flags, const MSTAT_STATUS status, u32 sz);
|
||||||
void rtw_mstat_dump(void *sel);
|
void rtw_mstat_dump(void *sel);
|
||||||
bool match_mstat_sniff_rules(const enum mstat_f flags, const size_t size);
|
bool match_mstat_sniff_rules(const enum mstat_f flags, const size_t size);
|
||||||
void dbg_rtw_vmfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
|
|
||||||
void *dbg_rtw_malloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
|
void *dbg_rtw_malloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
|
||||||
void *dbg_rtw_zmalloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
|
void *dbg_rtw_zmalloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
|
||||||
void dbg_rtw_mfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
|
void dbg_rtw_mfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
|
||||||
|
@ -494,21 +494,6 @@ bool match_mstat_sniff_rules(const enum mstat_f flags, const size_t size)
|
|||||||
return _FALSE;
|
return _FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void dbg_rtw_vmfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (match_mstat_sniff_rules(flags, sz))
|
|
||||||
RTW_INFO("DBG_MEM_ALLOC %s:%d %s(%d)\n", func, line, __FUNCTION__, (sz));
|
|
||||||
|
|
||||||
vfree((pbuf));
|
|
||||||
|
|
||||||
rtw_mstat_update(
|
|
||||||
flags
|
|
||||||
, MSTAT_FREE
|
|
||||||
, sz
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void *dbg_rtw_malloc(u32 sz, const enum mstat_f flags, const char *func, const int line)
|
inline void *dbg_rtw_malloc(u32 sz, const enum mstat_f flags, const char *func, const int line)
|
||||||
{
|
{
|
||||||
void *p;
|
void *p;
|
||||||
|
Loading…
Reference in New Issue
Block a user