From ee977dee47ecb21286df678643cfc2c0f453648f Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Thu, 14 Dec 2023 10:18:39 -0500 Subject: [PATCH] kernel: Remove obsolete _mailbox field Removes the _mailbox from the k_mbox_msg structure. This field is not used and only existed for legacy API support while Zephyr was transitioning from the split microkernel/nanokernel to the current unified kernel design. Signed-off-by: Peter Mitsis --- include/zephyr/kernel.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index 7b9a00f1abd9a5..ee47caed199e8c 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -4685,8 +4685,6 @@ static inline uint32_t z_impl_k_msgq_num_used_get(struct k_msgq *msgq) * */ struct k_mbox_msg { - /** internal use only - needed for legacy API support */ - uint32_t _mailbox; /** size of message (in bytes) */ size_t size; /** application-defined information value */