diff --git a/src/core/snmp/msg_in.c b/src/core/snmp/msg_in.c index d4f82d77..29b0cd69 100644 --- a/src/core/snmp/msg_in.c +++ b/src/core/snmp/msg_in.c @@ -121,9 +121,6 @@ snmp_ok_response(struct snmp_msg_pstat *msg_ps) if (err_ret == ERR_MEM) { /* 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 { diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index b80ecad7..bb579a26 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -533,10 +533,6 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_STATS 1 #endif -#ifndef PBUF_STATS -#define PBUF_STATS 1 -#endif - #ifndef SYS_STATS #define SYS_STATS 1 #endif