From e1b6a4cb21fbf85684ee546c70733f5f90ddce85 Mon Sep 17 00:00:00 2001 From: fbernon Date: Sat, 3 Mar 2007 17:00:44 +0000 Subject: [PATCH] udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;" Its is static, and never used in udp.c except udp_init(). --- CHANGELOG | 5 ++++- src/core/udp.c | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1d154da3..d8fc2e89 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -42,12 +42,15 @@ HISTORY ++ Bug fixes: + 2007-03-03 Frédéric Bernon + * udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;" + Its is static, and never used in udp.c except udp_init(). + 2007-03-02 Simon Goldschmidt * tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from tcpip_thread() to tcpip_init(). This way, raw API connections can be initialized before tcpip_thread is running (e.g. before OS is started) -======= 2007-03-02 Frédéric Bernon * rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call interval. diff --git a/src/core/udp.c b/src/core/udp.c index fb156856..6f3de7be 100644 --- a/src/core/udp.c +++ b/src/core/udp.c @@ -64,12 +64,10 @@ /* exported in udp.h (was static) */ struct udp_pcb *udp_pcbs = NULL; -static struct udp_pcb *pcb_cache = NULL; - void udp_init(void) { - udp_pcbs = pcb_cache = NULL; + udp_pcbs = NULL; } /**