mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 09:03:49 +08:00
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!
This commit is contained in:
@@ -113,8 +113,6 @@ igmp_init(void)
|
||||
|
||||
IP4_ADDR(&allsystems, 224, 0, 0, 1);
|
||||
IP4_ADDR(&allrouters, 224, 0, 0, 2);
|
||||
|
||||
igmp_group_list = NULL;
|
||||
}
|
||||
|
||||
#ifdef LWIP_DEBUG
|
||||
|
||||
@@ -55,17 +55,6 @@
|
||||
#include "lwip/stats.h"
|
||||
#include "arch/perf.h"
|
||||
|
||||
/**
|
||||
* Initializes the IP layer.
|
||||
*/
|
||||
void
|
||||
ip_init(void)
|
||||
{
|
||||
#if IP_REASSEMBLY
|
||||
ip_reass_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds the appropriate network interface for a given IP address. It
|
||||
* searches the list of network interfaces linearly. A match is found
|
||||
|
||||
@@ -85,14 +85,6 @@ static u16_t ip_reass_pbufcount;
|
||||
/* function prototypes */
|
||||
static void dequeue_packet(struct ip_reassdata *ipr, struct ip_reassdata *prev);
|
||||
|
||||
/**
|
||||
* Initializes IP reassembly states.
|
||||
*/
|
||||
void
|
||||
ip_reass_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Reassembly timer base function
|
||||
* for both NO_SYS == 0 and 1 (!).
|
||||
|
||||
Reference in New Issue
Block a user