diff --git a/src/core/init.c b/src/core/init.c index 253c8911..1db2ef75 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -314,7 +314,7 @@ #endif /* !LWIP_DISABLE_TCP_SANITY_CHECKS */ /** - * Perform Sanity check of user-configurable values, and initialize all modules. + * Initialize all modules. */ void lwip_init(void) @@ -355,13 +355,6 @@ lwip_init(void) #if LWIP_DNS dns_init(); #endif /* LWIP_DNS */ -#if LWIP_IPV6 - ip6_init(); - nd6_init(); -#if LWIP_IPV6_MLD - mld6_init(); -#endif /* LWIP_IPV6_MLD */ -#endif /* LWIP_IPV6 */ #if PPP_SUPPORT ppp_init(); #endif diff --git a/src/include/lwip/ip6.h b/src/include/lwip/ip6.h index 13385aea..dcb3270a 100644 --- a/src/include/lwip/ip6.h +++ b/src/include/lwip/ip6.h @@ -161,7 +161,6 @@ PACK_STRUCT_END #define IP6H_HOPLIM_SET(hdr, hl) (hdr)->_hoplim = (u8_t)(hl) -#define ip6_init() /* TODO should we init current addresses and header pointer? */ struct netif *ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest); ip6_addr_t *ip6_select_source_address(struct netif *netif, const ip6_addr_t * dest); err_t ip6_input(struct pbuf *p, struct netif *inp); diff --git a/src/include/lwip/mld6.h b/src/include/lwip/mld6.h index d5b515a0..f992c992 100644 --- a/src/include/lwip/mld6.h +++ b/src/include/lwip/mld6.h @@ -99,7 +99,6 @@ PACK_STRUCT_END #define MLD6_ADD_MAC_FILTER 1 -#define mld6_init() /* TODO should we init tables? */ err_t mld6_stop(struct netif *netif); void mld6_report_groups(struct netif *netif); void mld6_tmr(void); diff --git a/src/include/lwip/nd6.h b/src/include/lwip/nd6.h index 5c01d2d4..d0646f1b 100644 --- a/src/include/lwip/nd6.h +++ b/src/include/lwip/nd6.h @@ -342,7 +342,6 @@ extern struct nd6_router_list_entry default_router_list[]; extern u32_t reachable_time; extern u32_t retrans_timer; -#define nd6_init() /* TODO should we init tables? */ void nd6_tmr(void); void nd6_input(struct pbuf *p, struct netif *inp); s8_t nd6_get_next_hop_entry(const ip6_addr_t * ip6addr, struct netif * netif);