Commit a48962fc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove diagnostic check on active VCL, rather than increase

cost by correctly holding the mtx while examining it.
parent 80c5b908
......@@ -282,9 +282,6 @@ void
VCL_Refresh(struct vcl **vcc)
{
CHECK_OBJ_NOTNULL(vcl_active, VCL_MAGIC);
AZ(pthread_rwlock_rdlock(&vcl_active->temp_rwl));
assert(VCL_WARM(vcl_active));
AZ(pthread_rwlock_unlock(&vcl_active->temp_rwl));
if (*vcc == vcl_active)
return;
if (*vcc != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment