Fix-Point commented on code in PR #18224:
URL: https://github.com/apache/nuttx/pull/18224#discussion_r2735617137


##########
include/nuttx/hrtimer.h:
##########
@@ -77,17 +77,6 @@ struct hrtimer_s;
 typedef CODE uint64_t (*hrtimer_entry_t)(FAR const struct hrtimer_s *hrtimer,
                                          uint64_t expired);
 
-/* Hrtimer container node used to order hrtimers by expiration time */
-
-typedef struct hrtimer_node_s
-{
-#ifdef CONFIG_HRTIMER_TREE
-  RB_ENTRY(hrtimer_node_s) entry;  /* RB-tree linkage */

Review Comment:
   This commit simplified the rbtree in hrtimer and provided better
   branchless compare function.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to