diff --git a/sys/sys/queue.h b/sys/sys/queue.h index 74b8d863714c..eefd62078402 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. */