mdbx: удаление лишних проверок внутри `mdbx_dbi_close()` (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-12-22 19:33:40 +03:00
parent 9803259cab
commit 42561e3b8e
1 changed files with 0 additions and 3 deletions

View File

@ -23125,9 +23125,6 @@ int mdbx_dbi_close(MDBX_env *env, MDBX_dbi dbi) {
if (unlikely(dbi >= env->me_maxdbs))
return MDBX_BAD_DBI;
if (unlikely(dbi < CORE_DBS || dbi >= env->me_maxdbs))
return MDBX_BAD_DBI;
rc = osal_fastmutex_acquire(&env->me_dbi_lock);
if (likely(rc == MDBX_SUCCESS)) {
retry: