From: Mathieu Desnoyers Date: Sat, 9 Mar 2024 20:09:00 +0000 (-0500) Subject: mempool: remove unused FIRST_POOL X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=017d1510b9e0dff5e9cb5bb5f1e7446618e4f8dd;p=librseq.git mempool: remove unused FIRST_POOL Signed-off-by: Mathieu Desnoyers Change-Id: I545c7f2ff7f4b760c92bf0689b5f4edbe1894329 --- diff --git a/src/rseq-mempool.c b/src/rseq-mempool.c index 0c79e5a..e3ed8a0 100644 --- a/src/rseq-mempool.c +++ b/src/rseq-mempool.c @@ -46,12 +46,6 @@ # define POOL_SET_MIN_ENTRY 2 /* Smallest item_len=4 */ #endif -/* - * Skip pool index 0 to ensure allocated entries at index 0 do not match - * a NULL pointer. - */ -#define FIRST_POOL 1 - #define BIT_PER_ULONG (8 * sizeof(unsigned long)) #define MOVE_PAGES_BATCH_SIZE 4096