From bb3e70c86014f74efc17c102b613ad4b5d7d5c15 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 20 Feb 2014 21:56:56 +0100 Subject: [PATCH] Fixed bug #41498 simhost unix project in lwip-contrib calls netif_init() twice. --- ports/unix/proj/unixsim/simhost.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ports/unix/proj/unixsim/simhost.c b/ports/unix/proj/unixsim/simhost.c index abdacbd..786c1e8 100644 --- a/ports/unix/proj/unixsim/simhost.c +++ b/ports/unix/proj/unixsim/simhost.c @@ -389,8 +389,6 @@ main_thread(void *arg) #endif LWIP_UNUSED_ARG(arg); - netif_init(); - if(sys_sem_new(&sem, 0) != ERR_OK) { LWIP_ASSERT("Failed to create semaphore", 0); }