From: Amos Jeffries Date: Mon, 7 Sep 2015 13:02:39 +0000 (-0700) Subject: Remove duplicate cbdataReferenceValid() check X-Git-Tag: SQUID_4_0_1~21^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c62636ed6eefea798bc649df29ad883ee245c08;p=thirdparty%2Fsquid.git Remove duplicate cbdataReferenceValid() check --- diff --git a/src/auth/UserNameCache.cc b/src/auth/UserNameCache.cc index 8fde52f702..cc8f8730c8 100644 --- a/src/auth/UserNameCache.cc +++ b/src/auth/UserNameCache.cc @@ -44,8 +44,6 @@ void UserNameCache::Cleanup(void *data) { debugs(29, 5, "checkpoint"); - if (!cbdataReferenceValid(data)) - return; // data is this in disguise UserNameCache *self = static_cast(data); // cache entries with expiretime <= expirationTime are to be evicted