From a87cacae46211b38e0f0d9c186984c5e1170d79d Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 4 Apr 2022 08:43:11 -0400 Subject: [PATCH] remove unused macros --- src/lib/util/pair.h | 7 ------- 1 file changed, 7 deletions(-) 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); -- 2.47.2