From 032b3d121d91bacecad14c565645fcc0875ea363 Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Tue, 21 Mar 2023 13:29:26 +0100 Subject: [PATCH] net: openthread: Fix OPENTHREAD_CONFIG_TCP_ENABLE redefinition warning OPENTHREAD_CONFIG_TCP_ENABLE is now set by the OpenThread build system, based on the CONFIG_OPENTHREAD_CLI_TCP_ENABLE Kconfig entry. Setting this symbol in the config file is therefore redundant, and causes multiple build warnings. Signed-off-by: Robert Lubos --- .../openthread/platform/openthread-core-zephyr-config.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/openthread/platform/openthread-core-zephyr-config.h b/modules/openthread/platform/openthread-core-zephyr-config.h index 50a3fc73ea..76c87ebd82 100644 --- a/modules/openthread/platform/openthread-core-zephyr-config.h +++ b/modules/openthread/platform/openthread-core-zephyr-config.h @@ -357,14 +357,6 @@ #define OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS CONFIG_OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS #endif /* CONFIG_OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS */ -/** - * @def OPENTHREAD_CONFIG_TCP_ENABLE - * - * Enable TCP. - * - */ -#define OPENTHREAD_CONFIG_TCP_ENABLE IS_ENABLED(CONFIG_OPENTHREAD_TCP_ENABLE) - /** * @def OPENTHREAD_CONFIG_CLI_TCP_ENABLE *