Remove empty init functions where not required for backwards compatibility

This commit is contained in:
sg 2015-08-27 21:35:18 +02:00
parent 97ef85c9aa
commit 413bf85dde
4 changed files with 1 additions and 11 deletions

View File

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

View File

@ -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);

View File

@ -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);

View File

@ -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);