udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"

Its is static, and never used in udp.c except udp_init().
This commit is contained in:
fbernon 2007-03-03 17:00:44 +00:00
parent bb8522b737
commit e1b6a4cb21
2 changed files with 5 additions and 4 deletions

View File

@ -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.

View File

@ -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;
}
/**