summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-10-24 11:19:21 +0000
committerru <ru@FreeBSD.org>2006-10-24 11:19:21 +0000
commit50c8ee114ad38f16d64c82159ae8ec78a261766a (patch)
treedff1bbc5b6a449c5f60da8ffaff1ddb05d7c186f
parent993a35babfe46791ea5c6e7cecb5b0eedd105fc7 (diff)
downloadFreeBSD-src-50c8ee114ad38f16d64c82159ae8ec78a261766a.zip
FreeBSD-src-50c8ee114ad38f16d64c82159ae8ec78a261766a.tar.gz
Remove the non-standard and undocumented STAILQ_REMOVE_HEAD_UNTIL()
macro now that we no longer use it.
-rw-r--r--sys/sys/queue.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/sys/queue.h b/sys/sys/queue.h
index 74b8d86..eefd620 100644
--- a/sys/sys/queue.h
+++ b/sys/sys/queue.h
@@ -300,11 +300,6 @@ struct { \
(head)->stqh_last = &STAILQ_FIRST((head)); \
} while (0)
-#define STAILQ_REMOVE_HEAD_UNTIL(head, elm, field) do { \
- if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \
- (head)->stqh_last = &STAILQ_FIRST((head)); \
-} while (0)
-
/*
* List declarations.
*/
OpenPOWER on IntegriCloud