From: Alan T. DeKok Date: Mon, 4 Apr 2022 12:43:11 +0000 (-0400) Subject: remove unused macros X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a87cacae46211b38e0f0d9c186984c5e1170d79d;p=thirdparty%2Ffreeradius-server.git remove unused macros --- diff --git a/src/lib/util/pair.h b/src/lib/util/pair.h index b5d903d62b..e64b0efba5 100644 --- a/src/lib/util/pair.h +++ b/src/lib/util/pair.h @@ -186,13 +186,6 @@ DIAG_ON(nonnull-compare) /* Initialisation */ void fr_pair_list_init(fr_pair_list_t *head) CC_HINT(nonnull); -/* - * Temporary macro to point the head of a pair_list to a specific vp - */ -#define fr_pair_list_set_head(_list, _vp) (_list = &_vp) - -#define fr_pair_list_from_dcursor(_cursor) (fr_pair_list_t *) (((uint8_t *) (_cursor->dlist)) - offsetof(fr_pair_list_t, order)) - /* Allocation and management */ fr_pair_t *fr_pair_alloc_null(TALLOC_CTX *ctx) CC_HINT(warn_unused_result);