From d9ba720cc0f65b60547ecbcba656f309bc8753e3 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Jun 2020 10:19:31 +0200 Subject: [PATCH 1/2] net/gnrc/gomach: Remove unused queue size configuration option --- sys/include/net/gnrc/gomach/gomach.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/sys/include/net/gnrc/gomach/gomach.h b/sys/include/net/gnrc/gomach/gomach.h index 7be5db21aa..062e3b7254 100644 --- a/sys/include/net/gnrc/gomach/gomach.h +++ b/sys/include/net/gnrc/gomach/gomach.h @@ -349,31 +349,8 @@ extern "C" { #ifndef CONFIG_GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD #define CONFIG_GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD (10U) #endif - -/** - * @brief Default message queue size to use for the GoMacH thread (as exponent - * of 2^n). - * - * As the queue size ALWAYS needs to be power of two, this option represents the - * exponent of 2^n, which will be used as the size of the queue. - * - * The value of this macro should be enough for supporting the manipulation of - * GoMacH. - */ -#ifndef CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP -#define CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP (3U) -#endif /** @} */ -/** - * @brief Message queue size to use for the GoMacH thread. - */ -#ifndef GNRC_GOMACH_IPC_MSG_QUEUE_SIZE -#define GNRC_GOMACH_IPC_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP) -#endif -/** @} */ - - /** * @brief Creates an IEEE 802.15.4 GoMacH network interface * From 1f33c43fd4db697080ee71680c97f8d271696050 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Jun 2020 10:20:15 +0200 Subject: [PATCH 2/2] net/gnrc/lwmac: Remove unused queue size configuration option --- sys/include/net/gnrc/lwmac/lwmac.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/sys/include/net/gnrc/lwmac/lwmac.h b/sys/include/net/gnrc/lwmac/lwmac.h index c4732b1af0..2b4f7ad7cf 100644 --- a/sys/include/net/gnrc/lwmac/lwmac.h +++ b/sys/include/net/gnrc/lwmac/lwmac.h @@ -290,30 +290,8 @@ extern "C" { #ifndef GNRC_LWMAC_BROADCAST_CSMA_RETRIES #define GNRC_LWMAC_BROADCAST_CSMA_RETRIES (3U) #endif - -/** - * @brief Default message queue size to use for the LWMAC thread (as exponent of - * 2^n). - * - * As the queue size ALWAYS needs to be power of two, this option represents the - * exponent of 2^n, which will be used as the size of the queue. - * - * The value of this macro should be enough for supporting the manipulation of - * LWMAC. - * - */ -#ifndef CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP -#define CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP (3U) -#endif /** @} */ -/** - * @brief Message queue size to use for the LWMAC thread. - */ -#ifndef GNRC_LWMAC_IPC_MSG_QUEUE_SIZE -#define GNRC_LWMAC_IPC_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP) -#endif - /** * @brief Creates an IEEE 802.15.4 LWMAC network interface *