This is an automated email from the ASF dual-hosted git repository.

GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 46bfd411dea48df01266aa6f2328266b32efaf7c
Author: dongjiuzhu1 <[email protected]>
AuthorDate: Sun Feb 22 05:50:14 2026 +0800

    include/mempool: remove unnecessary header file to avoid redefine
    
    compile error:
    In file included from include/nuttx/mm/mempool.h:32,
                     from include/nuttx/mm/iob.h:36,
                     from include/nuttx/net/net.h:43,
                     from include/nuttx/net/netdev_lowerhalf.h:39,
                     from platform/realtek_ieee80211/realtek_netdev.c:5:
    static inline void list_add_tail(struct list_head *newitem, struct 
list_head *head)
    
    Signed-off-by: dongjiuzhu1 <[email protected]>
---
 include/nuttx/mm/mempool.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/nuttx/mm/mempool.h b/include/nuttx/mm/mempool.h
index 8304980d953..015dcdb6e83 100644
--- a/include/nuttx/mm/mempool.h
+++ b/include/nuttx/mm/mempool.h
@@ -30,7 +30,6 @@
 #include <sys/types.h>
 #include <stdbool.h>
 
-#include <nuttx/list.h>
 #include <nuttx/queue.h>
 #include <nuttx/mm/mm.h>
 #include <nuttx/nuttx.h>

Reply via email to