From e9abfa6602b6d83180d102729c1167a9d249580e Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 16 May 2007 14:15:54 +0000 Subject: [PATCH] Removed PBUF_STATS and related code from opt.h & msg_in.c --- src/core/snmp/msg_in.c | 3 --- src/include/lwip/opt.h | 4 ---- 2 files changed, 7 deletions(-) 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