]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blobdiff - src/core/tcp.c
Changed initialization: many init functions are not needed any more since we now...
[pes-rpp/rpp-lwip.git] / src / core / tcp.c
index a7ce7394a647e25e5f8f593fe8eea7e7ec8521dd..a28b2890ca635d1d17e6fb5de70a64e067bc690a 100644 (file)
@@ -74,25 +74,6 @@ struct tcp_pcb *tcp_tmp_pcb;
 static u8_t tcp_timer;
 static u16_t tcp_new_port(void);
 
-/**
- * Initializes the TCP layer.
- */
-void
-tcp_init(void)
-{
-  /* Clear globals. */
-  tcp_bound_pcbs = NULL;
-  tcp_listen_pcbs.listen_pcbs = NULL;
-  tcp_active_pcbs = NULL;
-  tcp_tw_pcbs = NULL;
-  tcp_tmp_pcb = NULL;
-  
-  /* initialize timer */
-  tcp_ticks = 0;
-  tcp_timer = 0;
-  
-}
-
 /**
  * Called periodically to dispatch TCP timers.
  *