mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 05:24:37 +08:00
Removed PBUF_STATS and related code from opt.h & msg_in.c
This commit is contained in:
parent
0f8a2d6418
commit
e9abfa6602
@ -121,9 +121,6 @@ snmp_ok_response(struct snmp_msg_pstat *msg_ps)
|
|||||||
if (err_ret == ERR_MEM)
|
if (err_ret == ERR_MEM)
|
||||||
{
|
{
|
||||||
/* serious memory problem, can't return tooBig */
|
/* serious memory problem, can't return tooBig */
|
||||||
#if PBUF_STATS
|
|
||||||
LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_event pbufs.used = %"U16_F"\n",lwip_stats.pbuf.used));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -533,10 +533,6 @@ a lot of data that needs to be copied, this should be set high. */
|
|||||||
#define MEMP_STATS 1
|
#define MEMP_STATS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PBUF_STATS
|
|
||||||
#define PBUF_STATS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SYS_STATS
|
#ifndef SYS_STATS
|
||||||
#define SYS_STATS 1
|
#define SYS_STATS 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user