From 24fc93e12f8dcebea9d857ceb70412bbe41a6aeb Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 7 Sep 2018 10:01:59 +0200 Subject: [PATCH] Remove checks that the SO_* socket options and SOF_* lwIP-internal flags match MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit not needed any more since commit b0344518e82887057395f195fdf4d73384f15900 "sockets.c: Don't rely on #defines in socket.h to be in sync with ip.h Map SO_* to SOF_* #defines" Reported by Joan Lledó on mailinglist 6.Sep.2018 --- src/core/init.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/core/init.c b/src/core/init.c index 34766019..b3737a35 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -238,16 +238,6 @@ PACK_STRUCT_END #endif #endif /* LWIP_NETCONN && LWIP_TCP */ #if LWIP_SOCKET -/* Check that the SO_* socket options and SOF_* lwIP-internal flags match */ -#if SO_REUSEADDR != SOF_REUSEADDR -#error "WARNING: SO_REUSEADDR != SOF_REUSEADDR" -#endif -#if SO_KEEPALIVE != SOF_KEEPALIVE -#error "WARNING: SO_KEEPALIVE != SOF_KEEPALIVE" -#endif -#if SO_BROADCAST != SOF_BROADCAST -#error "WARNING: SO_BROADCAST != SOF_BROADCAST" -#endif #endif /* LWIP_SOCKET */