From 56758372cf187d7c6030a6f4c4e2a6e383d5c630 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sat, 12 Dec 2020 18:34:26 +0300 Subject: [PATCH] mdbx: drop unused `mdbx_audit()`. Change-Id: I6d31c6ad83c058892319da6bbf38506b3f55085f --- src/core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core.c b/src/core.c index ef0fc774..465a6cc6 100644 --- a/src/core.c +++ b/src/core.c @@ -3263,10 +3263,6 @@ static int __must_check_result mdbx_cursor_push(MDBX_cursor *mc, MDBX_page *mp); static int __must_check_result mdbx_audit_ex(MDBX_txn *txn, unsigned retired_stored, bool dont_filter_gc); -static __maybe_unused __always_inline int __must_check_result -mdbx_audit(MDBX_txn *txn) { - return mdbx_audit_ex(txn, 0, (txn->mt_flags & MDBX_TXN_RDONLY) != 0); -} static int __must_check_result mdbx_page_check(MDBX_cursor *const mc, const MDBX_page *const mp,