]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sys/queue.h: move trashing from SLIST_REMOVE to REMOVE_AFTER, REMOVE_HEAD
authorAndriy Gapon <avg@FreeBSD.org>
Wed, 15 Dec 2021 11:27:49 +0000 (13:27 +0200)
committerAndriy Gapon <avg@FreeBSD.org>
Wed, 15 Dec 2021 11:28:33 +0000 (13:28 +0200)
commit5dab06a003189ebb017810bdbf3b3c2f074afd3e
treedb3020d5d7728bad8ae72ef4ec016dd67e11154a
parentb7bcd21d2da50364a512092cb4e75f2d53070ba6
sys/queue.h: move trashing from SLIST_REMOVE to REMOVE_AFTER, REMOVE_HEAD

SLIST_REMOVE calls either REMOVE_AFTER or REMOVE_HEAD to do the job.
But those two macros can be used independently as well.

MFC after: 2 weeks
sys/sys/queue.h