refact code
This commit is contained in:
parent
bff8c216cc
commit
2e161729b6
|
@ -321,14 +321,12 @@ int32_t vnodeBufPoolRecycle(SVBufPool *pPool) {
|
|||
if (rc == 0 || rc == TSDB_CODE_VND_QUERY_BUSY) {
|
||||
pNode = pTNode;
|
||||
} else {
|
||||
taosThreadMutexUnlock(&pPool->mutex);
|
||||
code = rc;
|
||||
goto _exit;
|
||||
}
|
||||
}
|
||||
|
||||
taosThreadMutexUnlock(&pPool->mutex);
|
||||
|
||||
_exit:
|
||||
taosThreadMutexUnlock(&pPool->mutex);
|
||||
return code;
|
||||
}
|
Loading…
Reference in New Issue