From f17015417643be9d6cb03b840edbb9d8952671ec Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Fri, 25 Apr 2025 18:30:28 +0100 Subject: libctf: drop unnecessary macro Every use of this macro has been deleted. --- libctf/ctf-impl.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libctf') diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index e0145bd..ee9991b 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -611,11 +611,6 @@ extern ctf_id_t ctf_index_to_type (const ctf_dict_t *, uint32_t); /* * If an offs is not aligned already then round it up and align it. */ #define LCTF_ALIGN_OFFS(offs, align) ((offs + (align - 1)) & ~(align - 1)) -#define LCTF_INDEX_TO_TYPEPTR(fp, i) \ - ((i > fp->ctf_stypes) ? \ - ctf_dtd_lookup (fp, ctf_index_to_type (fp, i))->dtd_data : \ - (fp)->ctf_txlate[(i)]) - /* The non *INFO variants of these macros acquire the relevant info from the suffixed type, if the type is prefixed. (Internally to libctf, all types that may ever take a prefix are prefixed until they are written out, so that -- cgit v1.1