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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6233680cad nuttx/sched: remove unused group link node
6233680cad is described below

commit 6233680cad62231ff95c9068a057e9bb0c71f6d4
Author: chao an <[email protected]>
AuthorDate: Wed Mar 6 09:03:18 2024 +0800

    nuttx/sched: remove unused group link node
    
    This change is missing from the below commit:
    
    | commit 7cb1f3b3c008e4d16861b9ee214c7c8c5d445fbe
    | Author: chao an <[email protected]>
    | Date:   Tue Mar 5 10:23:30 2024 +0800
    |
    |     sched/group: replace group_findbypid to task_getgroup
    |
    |     Task group could find from process id, replace group_findbypid to
    |     task_getgroup to simplify the search logic
    |
    |     Signed-off-by: chao an <[email protected]>
    
    Signed-off-by: chao an <[email protected]>
---
 include/nuttx/sched.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index 059bd5b06d..cfc0eb9c8b 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -414,9 +414,6 @@ struct binary_s;                    /* Forward reference
 
 struct task_group_s
 {
-#if defined(HAVE_GROUP_MEMBERS)
-  struct task_group_s *flink;       /* Supports a singly linked list           
 */
-#endif
   pid_t tg_pid;                     /* The ID of the task within the group     
 */
   pid_t tg_ppid;                    /* This is the ID of the parent thread     
 */
   uint8_t tg_flags;                 /* See GROUP_FLAG_* definitions            
 */

Reply via email to