[riot-notifications] [RIOT-OS/RIOT] gnrc_pkt: port to list.h (#15342)
benpicco
notifications at github.com
Tue Nov 3 13:14:12 CET 2020
@benpicco commented on this pull request.
> + list_node_t list = { .next = (list_node_t *)pkt };
+
+ list_remove(&list, (list_node_t *)snip);
+ return (gnrc_pktsnip_t *)list.next;
nah this is fine - this doesn't *add* complexity where there was none before
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15342#discussion_r516622324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201103/92708c1f/attachment.htm>
More information about the notifications
mailing list