mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 17:17:22 -04:00
removed unused static function violate_locking_hierarchy
This commit is contained in:
parent
604a596b5f
commit
cf479fdc6b
1 changed files with 0 additions and 9 deletions
|
|
@ -164,15 +164,6 @@ static void destroy_mgr(dns_dispatchmgr_t **mgrp);
|
|||
|
||||
#define LVL(x) ISC_LOG_DEBUG(x)
|
||||
|
||||
static inline void
|
||||
violate_locking_hierarchy(isc_mutex_t *have, isc_mutex_t *want) {
|
||||
if (isc_mutex_trylock(want) != ISC_R_SUCCESS) {
|
||||
UNLOCK(have);
|
||||
LOCK(want);
|
||||
LOCK(have);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
mgr_log(dns_dispatchmgr_t *mgr, int level, const char *fmt, ...) {
|
||||
char msgbuf[2048];
|
||||
|
|
|
|||
Loading…
Reference in a new issue